1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Dominika Solarz <dominikasolarz@gmail.com>
7 pkgdesc="Help Hannah's Horse: an arcade game based on Pacman and Fastfood"
9 url="https://sourceforge.net/projects/hannah/"
10 license=('GPL' 'custom')
11 depends=('gcc-libs' 'sdl_image' 'sdl_mixer' 'sdl_ttf')
12 source=(http://downloads.sourceforge.net/hannah/$pkgname-$pkgver.tar.gz
14 md5sums=('526b7fc05029f7b842d7ee89f61f8783'
15 '54505f9fc3c2263c548600a91639210f')
18 cd "$srcdir"/$pkgname-2008-03-29
22 -e "s,local/games,share," \
23 -e "s,local/bin,bin," \
28 install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
31 install -m 755 -d "$pkgdir"/usr/share/$pkgname
33 blue carrot freeze hannah images invert \
34 invis maps newanim pink red sounds stop \
36 "$pkgdir"/usr/share/$pkgname
38 # install license files
39 install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
40 install -m644 -t "$pkgdir"/usr/share/licenses/$pkgname \
41 LICENSE {Ray_Dittmeier_Fonts,StansHandOFL}.txt
43 # instll .desktop file
44 install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
47 install -Dm644 hannah/default/hannah_down1.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
50 find "$pkgdir"/usr/share/$pkgname -type d -exec chmod 755 {} +
51 find "$pkgdir"/usr/share/$pkgname -type f -exec chmod 644 {} +