updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / frasse / PKGBUILD
blob1f82c6499394d3bebc698a541dc22e4cf17e6a8a
1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
2 pkgname=frasse
3 pkgver=1
4 pkgrel=1
5 pkgdesc="Frasse and the Peas of Kejick is a point and click adventure game using the Sludge Engine."
6 arch=(any)
7 url="http://trumgottist.com/frasse-and-the-peas-of-kejick/"
8 license=('freeware')
9 depends=('sludge-engine')
10 source=(http://trumgottist.com/files/Frasse%20\(Mac\).zip)
11 md5sums=('ad6a9f3873f76c598dc4e3ebb9ff99e7')
13 build() {
14   mkdir -p $pkgdir/usr/share/${pkgname}/
15   mkdir -p $pkgdir/usr/bin/
16   cp $srcdir/Frasse\ and\ the\ Peas\ of\ Kejick.app/Contents/Resources/* $pkgdir/usr/share/${pkgname}/
21 package() {
22             
23     echo "cd /usr/share/frasse/
24 sludge-engine -w -a1 Gamedata.slg" > $pkgdir/usr/bin/${pkgname}
26     chmod +x $pkgdir/usr/bin/${pkgname}
27     
28 #desktop icons
29         mkdir -p $pkgdir/usr/share/pixmaps
30         mkdir -p $pkgdir/usr/share/applications
32         cp $srcdir/../$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
33         
34         install -D -m644 $srcdir/../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop