# $Id: PKGBUILD 146857 2012-01-18 21:05:19Z daniel $ # Maintainer: Daniel Isenmann pkgname=windowmaker-crm-git pkgver=20120109 pkgrel=2 pkgdesc="An X11 window manager with a NEXTSTEP look and feel - git version from Carlos R. Mafra" arch=(i686 x86_64) url="http://www.windowmaker.org" license=('GPL' 'custom') depends=('libxinerama' 'libxrandr' 'libpng' 'libxpm' 'libxft' 'libtiff>=3.9.1' 'giflib' 'libxmu') options=('!libtool') provides=('windowmaker') conflicts=('windowmaker') source=(ftp://ftp.archlinux.org/other/windowmaker/windowmaker-$pkgver.tar.gz wmaker.desktop) md5sums=('abe70f9cc7606c73a9bbe498cacf925a' '2fba97bebfd691836b92b8f0db79ff13') build() { cd $srcdir/windowmaker-$pkgver [ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`" ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc --enable-xinerama \ --with-nlsdir=/usr/share/locale --with-gnustepdir=/usr/lib/GNUstep \ --enable-usermenu --enable-modelock --enable-xrandr make } package() { cd $srcdir/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 }