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

Eric Bélanger eric at archlinux.org
Fri Jun 24 02:58:26 UTC 2011


    Date: Thursday, June 23, 2011 @ 22:58:26
  Author: eric
Revision: 128467

upgpkg: windowmaker-extra 0.1-3
Switched to any arch, PKGBUILD cleanup

Modified:
  windowmaker-extra/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-24 02:22:27 UTC (rev 128466)
+++ PKGBUILD	2011-06-24 02:58:26 UTC (rev 128467)
@@ -1,12 +1,11 @@
 # $Id$
 # Contributor: orelien <orelien at chez.com>
-#
 
 pkgname=windowmaker-extra
 pkgver=0.1
 pkgrel=3
-pkgdesc="Extra WindowMaker icons and themes."
-arch=(i686 x86_64)
+pkgdesc="Extra WindowMaker icons and themes"
+arch=('any')
 url="http://www.windowmaker.info"
 license=('GPL2')
 depends=('windowmaker')
@@ -14,10 +13,14 @@
 md5sums=('3ef850cfe0fb6660a55ccc8a2e408f74')
 
 build() {
-  cd $srcdir/WindowMaker-extra-$pkgver
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
-  rm -f $pkgdir/usr/share/WindowMaker/Icons/xv.xpm
+  cd "$srcdir/WindowMaker-extra-$pkgver"
+  ./configure --prefix=/usr
+  make
 }
+
+package() {
+  cd "$srcdir/WindowMaker-extra-$pkgver"
+  make DESTDIR="$pkgdir" install
+  rm -f "$pkgdir/usr/share/WindowMaker/Icons/xv.xpm"
+}
 # vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list