updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / windandwater / PKGBUILD
blob83b227cd865ffad7d81510d5f3940c76a2e71355
1 # Maintainer: megadriver <megadriver at gmx dot com>
3 pkgname=windandwater
4 pkgver=1.05a
5 pkgrel=3
6 pkgdesc="Very polished and addictive arcade puzzle game"
7 arch=('i686')
8 url="http://www.wind-water.net/"
9 license=('custom')
10 depends=('libtremor-svn' 'libpng12' 'sdl_mixer' 'sdl_image' 'sdl_net')
11 makedepends=('upx')
12 options=(!strip)
13 install=$pkgname.install
14 source=("http://yuanworks.s3.amazonaws.com/wind-water/download/WindAndWater_LINUX_EXE.zip"
15         "http://yuanworks.s3.amazonaws.com/wind-water/download/WindAndWater_PC.zip"
16          $pkgname.sh $pkgname.desktop)
17 md5sums=('a8daa30443cda2df076e323374b2072c'
18          '22d5a86fadb99475431c37df4506b441'
19          '5e185f93e8606a16127596d0a7835186'
20          'e5e12316a684549b7bce9faae47de10c')
22 build() {
23     chmod +x WindAndWater
24     upx -9 WindAndWater
27 package() {
28     install -D -m755 WindAndWater $pkgdir/opt/$pkgname/WindAndWater
29     install -m644 WindAndWater.eos* WindAndWater.eplib WindAndWater.png $pkgdir/opt/$pkgname
30     chown -R root:games $pkgdir/opt/$pkgname
31     chmod -R g+w $pkgdir/opt/$pkgname
32     install -D -m755 $pkgname.sh $pkgdir/usr/bin/$pkgname
33     install -D -m644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop