updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / alex4 / PKGBUILD
blob99c55003b7f5a53131c78e63bc0109fde3be917e
1 # Maintainer: megadriver <megadriver at gmx dot com>
3 pkgname=alex4
4 pkgver=1.1
5 pkgrel=3
6 pkgdesc="Help Alex rescue his girlfriend before the humans make a pair of shoes out of her!"
7 url="http://allegator.sourceforge.net"
8 arch=('i686' 'x86_64')
9 license=('GPL2')
10 depends=('dumb')
11 install=$pkgname.install
12 source=("http://downloads.sourceforge.net/project/allegator/Alex4/source%20and%20data/alex4src_data.zip"
13          unix-port.patch allegro-4.2.patch $pkgname.png $pkgname.desktop)
14 md5sums=('c81b8e3813300a0cfbe828bcdff60fda'
15          '8dcafad79e34fc9adb78a49b6933e10c'
16          'f9ccd450934d346deec450e91ecfc42e'
17          '1c21affded614148ad06deb1bb59086c'
18          '6ba86e2da472b4fe33cf206b7f4636c5')
20 build() {
21     cd $srcdir/alex4src
22     patch -p1 < ../unix-port.patch
23     patch -p1 < ../allegro-4.2.patch
24     cd src
25     make PREFIX=/usr 
28 package() {
29     cd $srcdir/alex4src/src
30     make PREFIX=$pkgdir/usr install
31     install -m644 ../$pkgname.ini $pkgdir/usr/share/$pkgname
32     install -D -m644 $srcdir/$pkgname.png $pkgdir/usr/share/icons/$pkgname.png
33     install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop