updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / xgalaga / PKGBUILD
blobdd035c74895a053f8e28bc58ce221b5a8515f62f
1 # Contributor: Loui Chang <louipc.ist@gmail.com>
2 pkgname=xgalaga
3 pkgver=2.0.34
4 pkgrel=3
5 pkgdesc="It's Galaga, you know how to play Galaga, stop bothering me."
6 url="http://rumsey.org/xgal.html"
7 license=('GPL')
8 depends=('libxpm')
9 arch=('i686')
10 source=('http://dl.sourceforge.net/xgalaga/xgalaga_2.0.34.orig.tar.gz'
11     'build_includes-xgalaga-2.0.34.patch'
12     'altmask-xgalaga-2.0.34.diff')
13 md5sums=('9f7ee685e9c4741b5f0edc3f91df9510'
14          'b528e42e20b1e07aae8385fe56c51cd0'
15          '94fac9d26483683b0c1565f67cc78db8')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver
19   patch -p1 < ../altmask-xgalaga-2.0.34.diff 
20   patch -p1 < ../build_includes-xgalaga-2.0.34.patch
21   ./configure --exec-prefix=/usr/bin --prefix=/usr/lib/xgalaga \
22   --with-xpm-lib=/usr/lib
23   make || return 1
24   make prefix=$startdir/pkg/usr/lib/$pkgname \
25         exec_prefix=$startdir/pkg/usr/bin install