2012-06-02 03:47:39 +08:00
|
|
|
# Contributor: Inkane <neoinkaneglade@aol.com>
|
2014-01-07 05:01:52 +08:00
|
|
|
# Contributions from Arch: https://www.archlinux.org/packages/community/any/setconf/
|
2012-06-02 03:47:39 +08:00
|
|
|
|
|
|
|
pkgname=setconf
|
2014-01-07 05:01:52 +08:00
|
|
|
pkgver=0.6.2
|
2012-06-02 03:47:39 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A utility to easily change settings in Makefiles and other configuration files"
|
2014-01-07 05:01:52 +08:00
|
|
|
arch=('x86_64')
|
2012-06-02 03:47:39 +08:00
|
|
|
url="http://setconf.roboticoverlords.org/"
|
|
|
|
license=('GPL')
|
2014-01-07 05:01:52 +08:00
|
|
|
depends=('python2')
|
|
|
|
source=("http://$pkgname.roboticoverlords.org/$pkgname-$pkgver.tar.xz")
|
|
|
|
sha256sums=('8f91dc5cc24cc9d4f7c34fbc657259384f99d7222b6df9375bac5436d601d0c2')
|
2012-06-02 03:47:39 +08:00
|
|
|
|
2014-01-07 05:01:52 +08:00
|
|
|
prepare() {
|
|
|
|
sed -i 's:usr/bin/python:usr/bin/python2:' "$pkgname-$pkgver/$pkgname.py"
|
2012-06-02 03:47:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-01-07 05:01:52 +08:00
|
|
|
cd "$pkgname-$pkgver"
|
2012-06-02 03:47:39 +08:00
|
|
|
|
2014-01-07 05:01:52 +08:00
|
|
|
install -Dm755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
|
|
|
|
install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
|
2012-06-02 03:47:39 +08:00
|
|
|
}
|