1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=andyetitmoves-demo
6 pkgdesc="physics-based platform game (demo)"
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')
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