diff options
Diffstat (limited to 'community/bomberclone/PKGBUILD')
-rw-r--r-- | community/bomberclone/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/bomberclone/PKGBUILD b/community/bomberclone/PKGBUILD new file mode 100644 index 000000000..749ca0a78 --- /dev/null +++ b/community/bomberclone/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# 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=1 +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.desktop') +md5sums=('3edcfcf69b88dbd2eab42541f236e072' + '2c0151859e7e9aebd1fc95a1455f0c3b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -Dm0644 "${srcdir}/bomberclone.desktop" \ + "${pkgdir}/usr/share/applications/bomberclone.desktop" +} |