1 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgdesc="A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game."
8 url="http://abe.sourceforge.net"
10 depends=('sdl_mixer' 'libxmu' 'libxi')
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
14 md5sums=('5537920e1746708e1a631d84d3500f5c' \
15 '7fa5c0aa79b1d94bbac4e9e6100f9fe0' \
16 '8a41e3aec62321221204ade2ee21aec8')
19 cd $srcdir/$pkgname-$pkgver
22 sed 's|BASE_DIR .|BASE_DIR /usr/share/abe|' -i src/Directories.h
24 ./configure --prefix=/usr
26 install -m755 -D src/abe $pkgdir/usr/bin/abe
27 mkdir -p $pkgdir/usr/share/{abe,applications}
28 cp -r images/ maps/ sounds/ $pkgdir/usr/share/abe
29 install -m644 $srcdir/logo.png $pkgdir/usr/share/abe/images
30 install -m644 $srcdir/abe.desktop $pkgdir/usr/share/applications