desktop/setconf/PKGBUILD
2014-01-06 21:01:52 +00:00

25 lines
772 B
Bash

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