1 # Contributor: megadriver <megadriver at gmx dot com>
3 pkgname=barbie-seahorse-adventures
6 pkgdesc="You're a seahorse - and you want to go to the moon!"
8 url="http://www.imitationpickles.org/barbie/"
10 depends=('python-pygame')
11 source=("http://www.imitationpickles.org/barbie/files/barbie-$pkgver.tar.gz" "barbie.desktop")
12 md5sums=('74e90654b74c7fffd4606102bc9b8bb3' 'ce36c23657789918204aff3c354efd0a')
15 cd $startdir/src/barbie-$pkgver
16 mkdir -p $pkgdir/usr/{bin,share/{barbie,applications}}
17 cp -r run_game.py lib data $pkgdir/usr/share/barbie
18 rm $pkgdir/usr/share/barbie/data/*.txt
19 echo -e "#!/bin/bash\n\npython2 /usr/share/barbie/run_game.py" >> $pkgdir/usr/bin/barbie
20 chmod 755 $pkgdir/usr/bin/barbie
21 install -m755 -D $startdir/barbie.desktop $pkgdir/usr/share/applications