updated on Tue Jan 10 16:09:17 UTC 2012
[aur-mirror.git] / xalf / PKGBUILD
blob1382c458f88a2dde67e8b89650647d46eebb3b7f
1 # Contributor: eric <eric@archlinux.org>
2 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
3 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgname=xalf
6 pkgver=0.12
7 pkgrel=3
8 pkgdesc="Provides graphical feedback when starting X11 applications"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 depends=('gtk' 'libxmu')
12 source=(http://www.lysator.liu.se/~astrand/projects/$pkgname/$pkgname-$pkgver.tgz)
13 md5sums=('301cd4481dfb4a4a3b1e5291e15c32fc')
14 url="http://www.lysator.liu.se/~astrand/projects/xalf/"
15 options=('!libtool')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver
20   #Arch 64 fix
21 if [ "$CARCH" == "x86_64" ]; then
22   rm config.guess config.sub
23   cp "/usr/share/libtool/config/config.guess"  ./config.guess
24   cp "/usr/share/libtool/config/config.sub"  ./config.sub
25   chmod 755 config.guess config.sub
27   
28   ./configure --prefix=/usr || return 1
29   make || return 1
30   make prefix=$startdir/pkg/usr install || return 1