summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoroli2015-06-12 21:51:25 +0200
committeroli2015-06-12 21:51:25 +0200
commitab9fc6821a75356b5e0c7827a1088bc41dabd2cc (patch)
tree365dba909dc0d7512e8512e35cf8db41571e21b1 /PKGBUILD
downloadaur-ab9fc6821a75356b5e0c7827a1088bc41dabd2cc.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..42ea5c57779
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Nick Bolten <Shirakawasuna at gmail _dot_ com>
+# Maintainer: Jose Riha <jose 1711 gmail com>
+
+pkgname=amoebax
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="A cute and addictive action-puzzle game"
+arch=('i686' 'x86_64')
+url="http://www.emma-soft.com/games/amoebax/"
+license=('GPL')
+depends=('sdl_image' 'sdl_mixer' 'libpng' 'libogg' 'libvorbis' 'gcc-libs')
+source=(http://www.emma-soft.com/games/amoebax/download/${pkgname}-${pkgver}.tar.bz2 binreloc-cpp-fix.patch)
+md5sums=('16835cf051334bd3d75345d879b23cdf'
+ '29a30fcc18689733022676a383ff3589')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p1 < $srcdir/binreloc-cpp-fix.patch
+ ./configure --prefix=/usr
+ make
+ sed -i s,LogicGame,ArcadeGame,g $srcdir/$pkgname-$pkgver/data/$pkgname.desktop
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}