PKGBUILDs/community/blobwars/PKGBUILD

23 lines
802 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: geekitus
pkgname=blobwars
pkgver=1.11
pkgrel=1
pkgdesc="Platform action game featuring a variety of different weaponry and multiple objectives"
arch=('i686' 'x86_64')
url="http://www.parallelrealities.co.uk/projects/blobWars.php"
license=('GPL')
depends=('sdl_image' 'sdl_mixer' 'sdl_ttf')
source=(http://www.parallelrealities.co.uk/download/blobwars/blobwars-1.11-1.tar.gz)
md5sums=('4da5ec26e0a865a58e3acfeb2e48d3e2')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
sed -i -e 's/-g games//' -e 's/-Werror//' makefile
make || return 1
make PREFIX=${pkgdir}/usr BINDIR=${pkgdir}/usr/bin/ install
sed -i 's/Game;/Game;ArcadeGame;/' ${pkgdir}/usr/share/applications/blobwars.desktop
}