1 # Contributor: Kevin Whitaker <eyecreate at gmail dot com>
6 pkgdesc="Platform Puzzle game"
9 url='http://www.andyetitmoves.net/index.php?content=demo'
10 license=('custom: "commercial"')
11 depends=('sdl' 'sdl_image' 'libtheora' 'libxft' 'mesa' 'libvorbis')
12 [ $CARCH == x86_64 ] && source=(http://www.andyetitmoves.net/demo/AndYetItMovesDemo-${pkgver}_x86_64.tar.gz ayim.desktop)
13 [ $CARCH == i686 ] && source=(http://www.andyetitmoves.net/demo/AndYetItMovesDemo-${pkgver}_i386.tar.gz ayim.desktop)
15 [ $CARCH == x86_64 ] && md5sums=('8b673f0b4c33cbf414eb960a57aeea4d' '0052704fea1c5d830e45bfaa9c23274d')
16 [ $CARCH == i686 ] && md5sums=('d08db00390f1496b961d53a3e4c7270b' '0052704fea1c5d830e45bfaa9c23274d')
19 cd $srcdir || return 1
21 # Create Destination Directory
22 install -d $pkgdir/opt/AndYetItMovesDemo || return 1
25 [ $CARCH == x86_64 ] && tar zxfv $srcdir/AndYetItMovesDemo-${pkgver}_x86_64.tar.gz
26 [ $CARCH == i686 ] && tar zxfv $srcdir/AndYetItMovesDemo-${pkgver}_i386.tar.gz
29 cp -r $srcdir/AndYetItMovesDemo/* $pkgdir/opt/AndYetItMovesDemo || return 1
33 install -D -m 644 $srcdir/AndYetItMovesDemo/NandIcon/ayim.jpg \
34 $pkgdir/usr/share/pixmaps/ayim.jpg || return 1
38 install -D -m 644 $srcdir/ayim.desktop \
39 $pkgdir/usr/share/applications/ayim.desktop || return 1