diff options
author | Carsten Teibes | 2015-04-04 04:23:31 +0200 |
---|---|---|
committer | Carsten Teibes | 2015-04-04 04:23:31 +0200 |
commit | 2440177b330be57429752b894f7f4fdb21c80d7e (patch) | |
tree | 0c36bd27cf7c907e56bcb71755f5b72bdaa43d48 | |
download | aur-2440177b330be57429752b894f7f4fdb21c80d7e.tar.gz |
[add] woahdave-hib 20141105
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | woahdave-hib.sh | 17 |
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a56ae6cb4e91 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = woahdave-hib + pkgdesc = JUMP AND THROW AND DON'T DIE! WOAH DAVE! + pkgver = 20141105 + pkgrel = 1 + url = http://woahdave.com/ + arch = x86_64 + arch = i686 + license = custom: commercial + makedepends = chrpath + depends = sh + source = hib://woahdave_linux.zip + source = woahdave-hib.sh + sha256sums = d99b42a4a6da6b37e75cd84c60d6ea693a394767bbd15c517d4924331ed64be9 + sha256sums = e78d41b49475e0ec15f789072d1572689d9a2c213a9a82710fcdc7e87e0e712c + depends_x86_64 = lib32-sdl2_mixer + depends_x86_64 = lib32-libgl + depends_i686 = sdl2_mixer + depends_i686 = libgl + +pkgname = woahdave-hib + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e7b24e974897 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG + +pkgname=woahdave-hib +pkgver=20141105 +pkgrel=1 +pkgdesc="JUMP AND THROW AND DON'T DIE! WOAH DAVE!" +url="http://woahdave.com/" +license=('custom: commercial') +arch=('x86_64' 'i686') +depends=('sh') +depends_i686=('sdl2_mixer' 'libgl') +depends_x86_64=('lib32-sdl2_mixer' 'lib32-libgl') +makedepends=('chrpath') +source=("hib://woahdave_linux.zip" + "$pkgname.sh") +sha256sums=('d99b42a4a6da6b37e75cd84c60d6ea693a394767bbd15c517d4924331ed64be9' + 'e78d41b49475e0ec15f789072d1572689d9a2c213a9a82710fcdc7e87e0e712c') +PKGEXT=".pkg.tar" + +package() { + install -d "$pkgdir"/opt/woahdave/Bundle + # data + cd "Linux/WoahDave-Humble-Release-20141105 1" + install -m 644 Bundle/* "$pkgdir"/opt/woahdave/Bundle + # binary + install -m755 WoahDave "$pkgdir"/opt/woahdave + chrpath -d "$pkgdir"/opt/woahdave/WoahDave + # launcher + install -Dm755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/woahdave +} diff --git a/woahdave-hib.sh b/woahdave-hib.sh new file mode 100644 index 000000000000..349fdb68fb7d --- /dev/null +++ b/woahdave-hib.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# launcher for Woah Dave by carstene1ns 2015 +# + +# create jail folder +mkdir -p "$HOME"/.mutekicorp/WoahDave + +# link data, if needed +if [ ! -L "$HOME"/.mutekicorp/WoahDave/Bundle ]; then + ln -s /opt/woahdave/Bundle "$HOME"/.mutekicorp/WoahDave +fi + +# change to game dir and launch +cd "$HOME"/.mutekicorp/WoahDave && exec /opt/woahdave/WoahDave "$@" + +# eof |