updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / grappling_hook_demo / PKGBUILD
blobdb2d8c05dbd936963329ff50fbd39ad5ad866071
1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=grappling_hook_demo
4 pkgver=1
5 pkgrel=3
6 pkgdesc="first-person action/puzzle game (demo)"
7 arch=('i686')
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')
15 options=(!strip)
17 build() {
18 true
21 package() {
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
29 (echo "#!/bin/bash
30 cd /usr/share/GrapplingHook_Demo
31 ./start.sh \"\$@\"") > $pkgdir/usr/bin/grappling-hook-demo
32 chmod 755 $pkgdir/usr/bin/grappling-hook-demo