summaryrefslogtreecommitdiff
path: root/community/abe/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/abe/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
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
+}