updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / overgod / PKGBUILD
blob7615f7d6e9c31c4a750af1d50ba9856527255302
1 # $Id: PKGBUILD,v 1.12 2003/11/06 08:26:13 dorphell Exp $
2 # Maintainer: ggrin <ggrin@lavabit.com>
3 # Contributor: ggrin <ggrin@lavabit.com>
4 pkgname=overgod
5 pkgver=1.0
6 pkgrel=2
7 pkgdesc="overgod is a shoot em up space game"
8 arch=('i686' 'x86_64')
9 url="http://www.allegro.cc/depot/Overgod"
10 license=('GPL')
11 groups=
12 provides=
13 depends=('allegro')
14 makedepends=('')
15 conflicts=('')
16 replaces=('')
17 source=(http://downloads.sourceforge.net/project/overgod/overgod/Overgod%201.0/overgod.tar.gz
18         overgod.patch)
19 md5sums=('3bddd8d4e96c5e69ec07236de145799a'
20         '5ab7c521b19d67f6c15aad496fa9d503')
22 build() {
23   
24   patch -i  $startdir/overgod.patch -d $srcdir/$pkgname-$pkgver/
25   
26   mkdir -p $pkgdir/usr/bin
27   mkdir -p $pkgdir/usr/share/overgod
28   cd $srcdir/$pkgname-$pkgver
29   gcc -g -O2 -Wall *.c -o overgod `allegro-config --cflags --libs` || return 1
30   cp  $srcdir/$pkgname-$pkgver/overgod $pkgdir/usr/share/overgod/
31   cp -r $srcdir/$pkgname-$pkgver/wavs   $pkgdir/usr/share/overgod/
32   cp -r $srcdir/$pkgname-$pkgver/gfx     $pkgdir/usr/share/overgod/
33   cd $pkgdir/usr/bin  
34   ln -s ../share/overgod/overgod ./