1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Maintainer: Arnaud Durand-Favreau <biginoz at FREE point FR>
5 pkgname=asd-tower-defense
8 pkgdesc="tower defense game"
10 url="http://code.google.com/p/asd-tower-defense/"
12 depends=(sdl mesa libgl)
13 source=(http://asd-tower-defense.googlecode.com/files/ASD_TD_${pkgver}.zip asd-td asd-td.png asd-td.desktop)
16 md5sums=('6a3431127d498734b226773d713d3126'
17 'f9a7d89c3f2f9172718f9a47b4b5d7b7'
18 'b1d6a325b104db52192336f1f105c150'
19 'ff64872ab3144f79bf30ac64bfab3771')
24 install -d $startdir/pkg/usr/bin && \
25 install -d $startdir/pkg/usr/share/applications && \
26 install -m 755 -o 0 -g 0 ../asd-td $startdir/pkg/usr/bin
27 install -d $startdir/pkg/usr/share/asd-tower-defense && \
28 cp -r ASD_TD_$pkgver/* $startdir/pkg/usr/share/asd-tower-defense
29 chmod o+w $startdir/pkg/usr/share/asd-tower-defense/donnees/scores
30 chmod o+w $startdir/pkg/usr/share/asd-tower-defense/cfg/config.cfg
31 cp asd-td.png $startdir/pkg/usr/share/asd-tower-defense
32 cp asd-td.desktop $startdir/pkg/usr/share/applications