diff options
author | Carsten Teibes | 2015-04-04 03:31:12 +0200 |
---|---|---|
committer | Carsten Teibes | 2015-04-04 03:31:12 +0200 |
commit | b5c006568adfbbfc14e197b234140e80183e0f4a (patch) | |
tree | 1fa5fdc3392f45df3217c20c33da6dae2a454280 /PKGBUILD | |
download | aur-b5c006568adfbbfc14e197b234140e80183e0f4a.tar.gz |
[add] unepic-hib 1.50.5
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3069f0c89b28 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG + +pkgname=unepic-hib +pkgver=1.50.5 +pkgrel=1 +pkgdesc='A combination of platforming and role playing games with many hilarious references. It takes place in Harnakon, a huge medieval castle.' +url="http://www.unepicgame.com/en/game.html" +license=('custom: commercial') +arch=('x86_64' 'i686') +depends=('sh' 'sdl2_mixer' 'libogg' 'glew') +source=("hib://unepic-15005.run" + "$pkgname.sh") +sha256sums=('11866de3bfdcac950c5bc29b6b5ff807e64307afef0b7f642378ccfcf2a073c8' + '2e045f5cf056a3498acaf2dd03811f38a5fc87b10ae55160c53f6634494109ad') +PKGEXT=".pkg.tar" + +package() { + # data + for _f in data image sound voices/english voices/spanish; do + install -d "$pkgdir"/opt/unepic/$_f + install -m644 data/$_f/* "$pkgdir"/opt/unepic/$_f + done + install -m644 data/voices/text.txt "$pkgdir"/opt/unepic/voices + install -m644 data/unepic.png "$pkgdir"/opt/unepic + + # binary + case $CARCH in + i686) + install -m755 data/unepic32 "$pkgdir"/opt/unepic/unepic;; + x86_64) + install -m755 data/unepic64 "$pkgdir"/opt/unepic/unepic;; + esac + + # launcher + install -Dm755 $pkgname.sh "$pkgdir"/usr/bin/unepic +} |