summaryrefslogtreecommitdiff
path: root/community/bomberclone/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/bomberclone/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/bomberclone/PKGBUILD')
-rw-r--r--community/bomberclone/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/bomberclone/PKGBUILD b/community/bomberclone/PKGBUILD
new file mode 100644
index 000000000..308374881
--- /dev/null
+++ b/community/bomberclone/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 66517 2012-02-25 22:47:19Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: arjan <arjan@archlinux.org>
+# Contributor: Aurelien Foret <orelien@chez.com>
+
+pkgname=bomberclone
+pkgver=0.11.9
+pkgrel=2
+pkgdesc='A clone of the game AtomicBomberMan.'
+arch=('i686' 'x86_64')
+url="http://www.bomberclone.de/"
+license=('GPL')
+depends=('sdl_mixer' 'sdl_image')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'bomberclone-0.11.9-build-fix.patch'
+ 'bomberclone.desktop')
+md5sums=('3edcfcf69b88dbd2eab42541f236e072'
+ '88def2b6faf7a6ac7acd96f617fc460e'
+ '2c0151859e7e9aebd1fc95a1455f0c3b')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # add build fix extracted from upstream CVS (fixes FS#26942)
+ patch -p0 -i ../bomberclone-0.11.9-build-fix.patch
+
+ ./configure --prefix=/usr
+ make AM_CFLAGS=-lm
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ install -Dm0644 "${srcdir}/bomberclone.desktop" \
+ "${pkgdir}/usr/share/applications/bomberclone.desktop"
+}