summaryrefslogtreecommitdiff
path: root/community/abe/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-11 00:35:42 -0700
committerroot <root@rshg054.dnsready.net>2012-10-11 00:35:42 -0700
commitdd7c17a54a4b6e2f08376a1afa8e75de661cc3d4 (patch)
treea9ccc072c17ea4a3f2fbdfa6c82c017a102839ad /community/abe/PKGBUILD
parent769ba4645df3c2f793bc2d3ee245573b79b206d3 (diff)
Thu Oct 11 00:35:41 PDT 2012
Diffstat (limited to 'community/abe/PKGBUILD')
-rw-r--r--community/abe/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/abe/PKGBUILD b/community/abe/PKGBUILD
new file mode 100644
index 000000000..9f646794f
--- /dev/null
+++ b/community/abe/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: jsteel <mail at jsteel dot org>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=abe
+pkgver=1.1
+pkgrel=9
+pkgdesc="A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game"
+arch=('i686' 'x86_64')
+url="http://abe.sourceforge.net"
+license=('GPL')
+depends=('sdl_mixer')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname.patch
+ $pkgname.desktop)
+md5sums=('5537920e1746708e1a631d84d3500f5c'
+ '74802a45e21b59d3e3d34f35ade252a4'
+ '6ff678e781290bff780da154a32b9767')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ patch -Np1 -i "$srcdir"/$pkgname.patch
+
+ ./configure --prefix=/usr
+
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
+ install -dm755 "$pkgdir"/usr/share/$pkgname/images
+
+ cp -r images/ maps/ sounds/ "$pkgdir"/usr/share/$pkgname/
+
+ cd "$pkgdir"/usr/share/$pkgname/images
+ tar -xf "$srcdir"/$pkgname-$pkgver/images/images.tar abe.bmp
+ chown root:root abe.bmp
+}