updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / bofh / PKGBUILD
blob0a33d112b209fa1123dd31c6fb4a4850645a3765
1 # Contributor: Eric Forgeot < http://anamnese.online.fr >
3 pkgname=bofh
4 pkgver=1.62
5 pkgrel=2
6 pkgdesc="Bastard Operator from Hell: Servers Under Siege is a top view shooter with a retro computing feeling."
7 arch=('i686' 'x86_64')
8 url="http://cadaver.homeftp.net/games.htm"
9 license=('BSD')
10 makedepends=('bme')
11 depends=('sdl')
13 source=(http://cadaver.homeftp.net/misc/bofh.zip)
15 md5sums=('2f3c13ea9d860a84772258c7d1662026')
19 build() {
20         cd $startdir/src/src
21         
22         make
24         mkdir -p $startdir/pkg/usr/bin/
25         mkdir -p $startdir/pkg/usr/share/bofh
26         
27         cp -fr $startdir/src/data $startdir/pkg/usr/share/bofh  
28         cp -fr $startdir/src/missions $startdir/pkg/usr/share/bofh
29         
30         cp -fr $startdir/src/bofh $startdir/pkg/usr/share/bofh
31         cp -fr $startdir/src/bofhedit $startdir/pkg/usr/share/bofh
32         
33         cp -fr $startdir/src/*.txt $startdir/pkg/usr/share/bofh
34         
35          echo "cd /usr/share/bofh
36 ./bofh" > $pkgdir/usr/bin/bofh
38     chmod +x $pkgdir/usr/bin/bofh
39