updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / supershooter / PKGBUILD
blobfcfa893c319af494709962e049abb42365eea6c5
1 # Contributor: elcerdo <georges.wbush@laposte.net>
2 maintainer=elcerdo
3 pkgname=supershooter
4 pkgver=0.3.2
5 pkgrel=1
6 pkgdesc="a shoot them up game with a lot of bullets"
7 arch=(i686 x86_64)
8 url="http://github.com/elcerdo/supershooter"
9 license=('GPL')
10 depends=(sdl sdl_mixer sdl_image boost ode)
11 makedepends=(cmake)
12 source=(http://github.com/elcerdo/${pkgname}/tarball/${pkgver})
13 md5sums=('878a30c7bd9cd346acd791d8ce7791cc')
15 build() {
16   cd "${srcdir}/$(ls -t ${srcdir} | grep "elcerdo" | head -n 1)"
18   cmake . \
19   -DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
20   -DCMAKE_BUILD_TYPE:STRING=Release
22   make || return 1
23   make DESTDIR="$pkgdir/" install
26 # vim:set ts=2 sw=2 et: