PKGBUILDs/extra/bomberclone/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
1,023 B
Bash

# $Id: PKGBUILD 49932 2009-08-16 21:48:44Z jgc $
# Maintainer: Jeff 'codemac' Mickey <jeff@archlinux.org>
# Contributor: arjan <arjan@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=bomberclone
pkgver=0.11.8
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.bz2
bomberclone.desktop)
md5sums=('1dedd642120eee8911b12e2ee05e476f'
'2c0151859e7e9aebd1fc95a1455f0c3b')
sha1sums=('a900b716683f9267bfd28d9687049e1f65335f95'
'd254e8fde5b55714970978619e8ad980b1007792')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/applications"
install -m644 "${srcdir}/bomberclone.desktop" \
"${pkgdir}/usr/share/applications/" || return 1
}