1 # Contributor: Kevin Whitaker <eyecreate at gmail dot com>
6 pkgdesc="Platform Puzzle game"
8 conflicts=('ayim-demo')
9 url='http://www.andyetitmoves.net/index.php'
10 license=('custom: "commercial"')
11 depends=('sdl' 'sdl_image' 'libtheora' 'libxft' 'mesa' 'libvorbis')
12 [ $CARCH == x86_64 ] && source=(AndYetItMoves-${pkgver}_x86_64.tar.gz ayim.desktop)
13 [ $CARCH == i686 ] && source=(AndYetItMoves-${pkgver}_i386.tar.gz ayim.desktop)
15 [ $CARCH == x86_64 ] && md5sums=('982998a3fa980e920d1c58a61a03439a' '3a147d6a01c3701d5f8229a0d79c1303')
16 [ $CARCH == i686 ] && md5sums=('417b341664dc64f392c91e7351e97d5e' '3a147d6a01c3701d5f8229a0d79c1303')
19 cd $srcdir || return 1
21 # Create Destination Directory
22 install -d $pkgdir/opt/AndYetItMoves || return 1
25 [ $CARCH == x86_64 ] && tar zxfv $srcdir/AndYetItMoves-${pkgver}_x86_64.tar.gz
26 [ $CARCH == i686 ] && tar zxfv $srcdir/AndYetItMoves-${pkgver}_i386.tar.gz
29 cp -r $srcdir/AndYetItMoves/* $pkgdir/opt/AndYetItMoves || return 1
33 install -D -m 644 $srcdir/AndYetItMoves/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