summaryrefslogtreecommitdiff
path: root/extra/windowmaker/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/windowmaker/PKGBUILD')
-rw-r--r--extra/windowmaker/PKGBUILD26
1 files changed, 17 insertions, 9 deletions
diff --git a/extra/windowmaker/PKGBUILD b/extra/windowmaker/PKGBUILD
index e694e615c..401e7f352 100644
--- a/extra/windowmaker/PKGBUILD
+++ b/extra/windowmaker/PKGBUILD
@@ -1,21 +1,29 @@
-# $Id: PKGBUILD 184448 2013-05-06 19:40:10Z foutrelis $
+# $Id: PKGBUILD 191928 2013-08-01 07:00:01Z bpiotrowski $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=windowmaker
pkgver=0.95.4
-pkgrel=2
+pkgrel=3
pkgdesc="An X11 window manager with a NEXTSTEP look and feel"
arch=(i686 x86_64 'mips64el')
url="http://www.windowmaker.org/"
license=('GPL' 'custom')
depends=('libxinerama' 'libxrandr' 'libxmu' 'libpng' 'libxpm' 'libxft' 'libtiff' 'giflib')
options=('!libtool')
-source=(http://windowmaker.org/pub/source/release/WindowMaker-$pkgver.tar.gz wmaker.desktop)
+source=(http://windowmaker.org/pub/source/release/WindowMaker-$pkgver.tar.gz
+ wmaker.desktop
+ wm-giflib.patch)
md5sums=('640b8ea5b1a875440aa48eaab09c5f00'
- '2fba97bebfd691836b92b8f0db79ff13')
+ '2fba97bebfd691836b92b8f0db79ff13'
+ '05d8e98fb579f2fa5a097b629374e6b8')
+prepare() {
+ cd WindowMaker-$pkgver
+ patch -Np0 -i ../wm-giflib.patch
+ autoreconf -fi
+}
build() {
- cd $srcdir/WindowMaker-$pkgver
+ cd WindowMaker-$pkgver
[ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
./configure --prefix=/usr --sysconfdir=/etc --enable-xinerama \
--with-nlsdir=/usr/share/locale --with-gnustepdir=/usr/lib/GNUstep \
@@ -24,10 +32,10 @@ build() {
}
package() {
- cd $srcdir/WindowMaker-$pkgver
+ cd WindowMaker-$pkgver
- make DESTDIR=$pkgdir install
- install -D -m644 COPYING.WTFPL $pkgdir/usr/share/licenses/$pkgname/COPYING.WTFPL
- install -D -m644 $srcdir/wmaker.desktop $pkgdir/usr/share/xsessions/wmaker.desktop
+ make DESTDIR="$pkgdir" install
+ install -D -m644 COPYING.WTFPL "$pkgdir/usr/share/licenses/$pkgname/COPYING.WTFPL"
+ install -D -m644 ../wmaker.desktop "$pkgdir/usr/share/xsessions/wmaker.desktop"
}