summaryrefslogtreecommitdiff
path: root/community/setconf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
committerroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
commitda0a0d88caa1bf934ebf314ef86e15928dbb027b (patch)
treeb7c57ac9667de10c72390e0d81654fffbe47c42d /community/setconf
parentffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff)
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'community/setconf')
-rw-r--r--community/setconf/PKGBUILD19
1 files changed, 5 insertions, 14 deletions
diff --git a/community/setconf/PKGBUILD b/community/setconf/PKGBUILD
index f3e2edad2..8d4792483 100644
--- a/community/setconf/PKGBUILD
+++ b/community/setconf/PKGBUILD
@@ -1,37 +1,28 @@
-# $Id: PKGBUILD 89870 2013-05-03 20:55:10Z arodseth $
+# $Id: PKGBUILD 89955 2013-05-06 09:59:45Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
pkgname=setconf
pkgver=0.5.3
-pkgrel=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')
-if [ "$CARCH" == 'x86_64' ] || [ "$CARCH" == 'i686' ]; then
- makedepends=('shedskin')
-fi
+makedepends=('shedskin')
source=("http://setconf.roboticoverlords.org/$pkgname-$pkgver.tar.xz")
sha256sums=('f063b308bcebefe139418587527262ffce776584b1952224ec9a41d0562d55b6')
build() {
cd "$srcdir/$pkgname-$pkgver"
- if [ "$CARCH" == 'x86_64' ] || [ "$CARCH" == 'i686' ]; then
- shedskin "$pkgname.py" && make
- fi
+ shedskin "$pkgname.py" && make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- if [ -e "$pkgname" ]; then
- install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
- else
- depends=('python')
- install -Dm755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
- fi
+ install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
}