updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / gate88 / PKGBUILD
blob877cc419deb8e0e0d0e854f3e2b572a082a68ccd
1 # Typhoon PKGBUILD
2 # Contributer: Klepto <geomoch@gmail.com>
4 pkgname=gate88
5 pkgver=Mar19_05
6 pkgrel=1
7 pkgdesc="An abstract realtime strategy/action game in space"
8 arch=('i686')
9 url="http://www.queasygames.com/gate88/"
10 license="custom"
11 groups=('games')
12 depends=(sdl sdl_mixer sdl_net libvorbis mesa)
13 makedepends=(tar gzip)
14 source=(http://www.queasygames.com/gate88/Gate88_$pkgver.tar.gz)
15 md5sums=('57b3d8432462954947b8737bbab81e91')
17 build() {
18         chmod -R a+r $startdir/src/Gate88_$pkgver               &&
19         chmod a+x $startdir/src/Gate88_$pkgver/sound            \
20                 $startdir/src/Gate88_$pkgver/music              \
21                 $startdir/src/Gate88_$pkgver/music/non-ingame   &&
22                 
23         mkdir -p $startdir/pkg/usr/share/$pkgname/lib           \
24                 $startdir/pkg/usr/share/applications            \
25                 $startdir/pkg/usr/share/licenses/$pkgname       \
26                 $startdir/pkg/etc/$pkgname                      \
27                 $startdir/pkg/etc/rc.d                          \
28                 $startdir/pkg/usr/bin                           &&
30         cp -a   $startdir/src/Gate88_${pkgver}/music            \
31                 $startdir/src/Gate88_${pkgver}/sound            \
32                 $startdir/src/Gate88_${pkgver}/gate88           \
33                 $startdir/pkg/usr/share/$pkgname                &&
35         cp      $startdir/src/Gate88_${pkgver}/lib/libstdc++-libc6.2-2.so.3 \
36                 $startdir/pkg/usr/share/$pkgname/lib            &&
37                 
38         cp      $startdir/src/Gate88_${pkgver}/*.conf $startdir/pkg/etc/$pkgname &&
39         cp      $startdir/src/Gate88_${pkgver}/license.txt      \
40                 $startdir/pkg/usr/share/licenses/$pkgname &&
42         cp      $startdir/$pkgname.png          $startdir/pkg/usr/share/$pkgname &&
43         cp      $startdir/$pkgname.desktop      $startdir/pkg/usr/share/applications &&
44         cp      $startdir/$pkgname              $startdir/pkg/usr/bin