1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=grappling_hook_demo
6 pkgdesc="first-person action/puzzle game (demo)"
8 url="http://ghook.speedrungames.com/"
9 license=("custom:EULA")
10 depends=('java-runtime' 'openal' 'libxrandr' 'libxcursor')
11 source=("http://ghook.speedrungames.com/download/GrapplingHook_Demo.tar.gz" "grappling_hook_demo.desktop")
12 md5sums=('70570ddd282f569144c542acc134d861'
13 'c638bf71376733da5a9551abbd8a33f6')
14 conflicts=('grappling_hook')
22 mkdir -p ${pkgdir}/usr/{share/GrapplingHook_Demo,bin}
23 cd ${srcdir}/GrapplingHook_Demo
24 tar cf - * --exclude=.PKGINFO | ( cd ${pkgdir}/usr/share/GrapplingHook_Demo; tar xfp -)
25 find ${pkgdir}/usr/share/GrapplingHook_Demo -type f ! -name start.sh -exec chmod 644 '{}' \;
26 find ${pkgdir}/usr/share/GrapplingHook_Demo -type d -exec chmod 755 '{}' \;
27 chmod 755 ${pkgdir}/usr/share/GrapplingHook_Demo/start.sh
28 install -D -m644 $srcdir/grappling_hook_demo.desktop $pkgdir/usr/share/applications/grappling_hook_demo.desktop
30 cd /usr/share/GrapplingHook_Demo
31 ./start.sh \"\$@\"") > $pkgdir/usr/bin/grappling-hook-demo
32 chmod 755 $pkgdir/usr/bin/grappling-hook-demo