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

Eric Bélanger eric at archlinux.org
Wed Feb 25 22:52:09 UTC 2009


    Date: Wednesday, February 25, 2009 @ 17:52:09
  Author: eric
Revision: 27780

upgpkg: windowmaker 0.92.0-5
    Updated url, Corrected license, Add libtoolize to fix build issue, updated libungif depends to giflib

Modified:
  windowmaker/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-02-25 22:26:23 UTC (rev 27779)
+++ PKGBUILD	2009-02-25 22:52:09 UTC (rev 27780)
@@ -1,29 +1,31 @@
 # $Id$
 # Maintainer: aurelien <aurelien at archlinux.org>
-# Committer: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
 pkgname=windowmaker
 pkgver=0.92.0
-pkgrel=4
+pkgrel=5
 pkgdesc="An X11 window manager with a NEXTSTEP look and feel"
 arch=(i686 x86_64)
-depends=('libxinerama' 'libpng' 'libxpm' 'libxft' 'libtiff' 'libungif')
-source=(ftp://ftp.windowmaker.info/pub/source/release/WindowMaker-$pkgver.tar.bz2 windowmaker-gcc4.patch.tar.bz2)
 url="http://www.windowmaker.info/"
+license=('GPL' 'custom')
+depends=('libxinerama' 'libpng' 'libxpm' 'libxft' 'libtiff' 'giflib')
+options=('!libtool')
+source=(http://windowmaker.info/pub/source/release/WindowMaker-$pkgver.tar.bz2 windowmaker-gcc4.patch.tar.bz2)
 md5sums=('aaac5421b686ed2d3e6ab65229c98097' 'd9fb6a9c255f5c03d0e0c83dc3cd2320')
 
 build() {
-  cd $startdir/src/WindowMaker-$pkgver
-  patch -Np1 -i ../windowmaker-gcc4.patch
-  aclocal
-  autoconf
-  automake
+  cd $srcdir/WindowMaker-$pkgver
+  patch -Np1 -i ../windowmaker-gcc4.patch || return 1
+  libtoolize --force --copy || return 1
+  aclocal || return 1
+  autoconf || return 1
+  automake || return 1
   [ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
   ./configure --prefix=/usr --sysconfdir=/etc \
     --with-gnustepdir=/usr/share/GNUstep --with-nlsdir=/usr/share/locale \
-    --enable-xinerama 
+    --enable-xinerama  || return 1
   make || return 1
-  make DESTDIR=$startdir/pkg install
-  # libtoolslay
-  find $startdir/pkg -name '*.la' -exec rm {} \;
+  make DESTDIR=$pkgdir install || return 1
+  install -D -m644 COPYING.WTFPL $pkgdir/usr/share/licenses/$pkgname/COPYING.WTFPL
 }
 




More information about the arch-commits mailing list