updated on Fri Jan 20 04:00:45 UTC 2012
[aur-mirror.git] / powermanga / PKGBUILD
blob5bfd62adda7a5e719d15766e1a0b58fdc7820693
1 # Contributor: Daniele Marinello <m2346zc5-aur@yahoo.it>
3 pkgname=powermanga
4 pkgver=0.90
5 pkgrel=5
6 pkgdesc="A shoot game for linux"
7 arch=(i686 x86_64)
8 url="http://linux.tlk.fr/"
9 license=('GPL')
10 depends=('sdl_mixer' 'libxxf86dga' 'libxxf86vm')
11 source=(http://linux.tlk.fr/games/Powermanga/download/$pkgname-$pkgver.tgz \
12          Makefile.in.patch \
13          powermanga.desktop)
14 md5sums=('7ef98d24b35fecdcdff790c5fe089bd4' \
15          'c2d1d5d6bf8ed124c7d52c78bea04e44' \
16          '9b79346d2a36b9e3b0405addc8c46b0c')
18 build() {
19   cd $startdir/src/$pkgname-$pkgver
20   patch -Np0 -i $srcdir/Makefile.in.patch || return 1
21   ./configure --prefix=/usr
22   make || return 1
23   make DESTDIR="$startdir/pkg" install
24   mkdir $startdir/pkg/usr/bin && mv $startdir/pkg/usr/games/powermanga /$startdir/pkg/usr/bin
25   rm -R $startdir/pkg/usr/games
26   mkdir $startdir/pkg/usr/share/applications && cp $startdir/powermanga.desktop $startdir/pkg/usr/share/applications