[arch-commits] Commit in setconf/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Mon May 6 05:59:34 EDT 2013


    Date: Monday, May 6, 2013 @ 11:59:34
  Author: arodseth
Revision: 89954

upgpkg: setconf 0.5.3-4, removed arch checks that I thought would help out Arch Linux ARM, but didn't

Modified:
  setconf/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-06 07:54:59 UTC (rev 89953)
+++ PKGBUILD	2013-05-06 09:59:34 UTC (rev 89954)
@@ -3,35 +3,26 @@
 
 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"
 }
 



More information about the arch-commits mailing list