updated on Fri Jan 20 04:00:45 UTC 2012
[aur-mirror.git] / andyetitmoves-demo / PKGBUILD
blobfcc52f2d366d6dcb4cfd2c5915a0f414c0c25f08
1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=andyetitmoves-demo
4 pkgver=1.1.1
5 pkgrel=3
6 pkgdesc="physics-based platform game (demo)"
7 arch=('i686' 'x86_64')
8 url="http://www.andyetitmoves.net/"
9 license=("custom:shareware")
10 source=("andyetitmovesdemo.desktop")
11 depends=("mesa" "libxft" "sdl_image" "libtheora" "libvorbis" "openal")
12 md5sums=('32794af11a18207c0fc1ce5fbd26e30c')
14 [ "$CARCH" = "i686"   ] && source=(${source[@]} "http://www.andyetitmoves.net/demo/AndYetItMovesDemo-1.1.1_i386.tar.gz")
15 [ "$CARCH" = "x86_64" ] && source=(${source[@]} "http://www.andyetitmoves.net/demo/AndYetItMovesDemo-1.1.1_x86_64.tar.gz")
16 [ "$CARCH" = "i686"   ] && md5sums=(${md5sums[@]} 'd08db00390f1496b961d53a3e4c7270b')
17 [ "$CARCH" = "x86_64" ] && md5sums=(${md5sums[@]} '8b673f0b4c33cbf414eb960a57aeea4d')
19 build() {
20 true
23 package() {
24   cd $srcdir/AndYetItMovesDemo
25   mkdir -p $pkgdir/usr/{share/AndYetItMovesDemo,bin}
26   /bin/tar cf - * | ( cd ../../pkg/usr/share/AndYetItMovesDemo/; tar xfp - )
27   ln -s /usr/share/AndYetItMovesDemo/AndYetItMovesDemo $pkgdir/usr/bin/AndYetItMovesDemo
28   install -D -m644 icons/48x48.png $pkgdir/usr/share/pixmaps/andyetitmovesdemo.png
29   install -D -m644 $srcdir/andyetitmovesdemo.desktop $pkgdir/usr/share/applications/andyetitmovesdemo.desktop