# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin pkgname=whitebox pkgver=0.5 pkgrel=1 pkgdesc="blackbox wm menu/style/background/keybinding configuration tool" arch=('i686' 'x86_64') license=('GPL3') url="http://whitebox.sourceforge.net/" depends=('gtk>=1.2.0') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/whiteBOX-$pkgver.tar.bz2) md5sums=('86778d1d045cedf6720df29e8342117b') build() { cd $startdir/src/whiteBOX-$pkgver # fix automake symlinks _automake_ver=`pacman -Q automake | cut -f 2 -d \ | cut -f 1 -d -` ln -sf /usr/share/automake-$_automake_ver/COPYING COPYING ln -sf /usr/share/automake-$_automake_ver/install-sh install-sh ln -sf /usr/share/automake-$_automake_ver/missing missing ln -sf /usr/share/automake-$_automake_ver/mkinstalldirs mkinstalldirs ./configure --prefix=/usr make || return 1 make prefix=$startdir/pkg/usr install }