mirror of
https://github.com/archlinux/aur.git
synced 2026-03-07 08:32:58 +01:00
[add] woahdave-hib 20141105
This commit is contained in:
commit
2440177b33
3 changed files with 68 additions and 0 deletions
21
.SRCINFO
Normal file
21
.SRCINFO
Normal file
|
|
@ -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
|
||||
|
||||
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
|
|
@ -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
|
||||
}
|
||||
17
woahdave-hib.sh
Normal file
17
woahdave-hib.sh
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue