updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / asylum / PKGBUILD
blobed7721ddab35f4ff94652284cfb135ec34bf34b9
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Christoph Zeiler <rabyte*gmail>
3 # Maintainer: Dany Martineau <dany.luc.martineau at gmail.com>
5 pkgname=asylum
6 pkgver=0.3.2
7 pkgrel=2
8 pkgdesc="A platform shooter set in the surreal world of an instable mind"
9 arch=('i686' 'x86_64')
10 url="http://sdl-$pkgname.sourceforge.net/"
11 license=('GPL3' 'Public Domain')
12 depends=('sdl' 'sdl_mixer' 'mesa')
13 source=(http://downloads.sourceforge.net/sdl-$pkgname/$pkgname-$pkgver.tar.gz \
14         Makefile.diff \
15         LICENSE asylum.desktop)
16 md5sums=('e662061a48726a16884a6f5d3ce69170'
17          '3de3e16b424e8ec93ce6637ae6667075'
18          '88b0414ed9959301d11e28924475a4db'
19          '9fee7121c0c0da6ea2ffb6fd6540e49e')
21 build() {
22   cd $srcdir/$pkgname-$pkgver
23   patch -Np0 -i ../Makefile.diff || return 1
24   make || return 1
25   make DESTDIR="$pkgdir" install
26   install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
27   mkdir -p $pkgdir/usr/share/applications
28   cp ../asylum.desktop $pkgdir/usr/share/applications