diff options
Diffstat (limited to 'community/setconf/PKGBUILD')
-rw-r--r-- | community/setconf/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/setconf/PKGBUILD b/community/setconf/PKGBUILD new file mode 100644 index 000000000..8d4792483 --- /dev/null +++ b/community/setconf/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 89955 2013-05-06 09:59:45Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> + +pkgname=setconf +pkgver=0.5.3 +pkgrel=4 +pkgdesc='Utility to easily change settings in configuration files or Makefiles' +arch=('x86_64' 'i686') +url='http://setconf.roboticoverlords.org/' +license=('GPL2') +depends=('pcre' 'gc') +makedepends=('shedskin') +source=("http://setconf.roboticoverlords.org/$pkgname-$pkgver.tar.xz") +sha256sums=('f063b308bcebefe139418587527262ffce776584b1952224ec9a41d0562d55b6') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + shedskin "$pkgname.py" && make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz" +} + +# vim:set ts=2 sw=2 et: |