[add] volgarr-the-viking-hib 1.34

This commit is contained in:
Carsten Teibes 2015-04-04 14:55:26 +02:00
commit c4c24ec84f
3 changed files with 64 additions and 0 deletions

20
.SRCINFO Normal file
View file

@ -0,0 +1,20 @@
pkgbase = volgarr-the-viking-hib
pkgdesc = Hardcore 16-bit style action from the golden era of arcade games, reimagined for today!
pkgver = 1.34
pkgrel = 1
url = http://www.volgarrtheviking.com/
arch = x86_64
arch = i686
license = custom: commercial
depends = sh
source = hib://VolgarrTheViking_v1.34_Linux32.tar.gz
source = volgarr-the-viking-hib.sh
sha256sums = e99e42b0dade244080ac17717c1a5caf292b5d2a57d5d3e659eae52e00eca6de
sha256sums = 246282e4132b7a8ae25d22aa926ee651164420776b321a69f9a4385a2ec7724a
depends_x86_64 = lib32-sdl2
depends_x86_64 = lib32-libgl
depends_i686 = sdl2
depends_i686 = libgl
pkgname = volgarr-the-viking-hib

41
PKGBUILD Normal file
View file

@ -0,0 +1,41 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=volgarr-the-viking-hib
pkgver=1.34
pkgrel=1
pkgdesc="Hardcore 16-bit style action from the golden era of arcade games, reimagined for today!"
url="http://www.volgarrtheviking.com/"
license=('custom: commercial')
arch=('x86_64' 'i686')
depends=('sh')
depends_i686=('sdl2' 'libgl')
depends_x86_64=('lib32-sdl2' 'lib32-libgl')
source=("hib://VolgarrTheViking_v${pkgver}_Linux32.tar.gz"
"$pkgname.sh")
sha256sums=('e99e42b0dade244080ac17717c1a5caf292b5d2a57d5d3e659eae52e00eca6de'
'246282e4132b7a8ae25d22aa926ee651164420776b321a69f9a4385a2ec7724a')
PKGEXT=".pkg.tar"
# You need to download the Humble Bundle file manually or you can configure
# DLAGENTS in makepkg.conf to auto-download.
#
# For example, hib-dlagent (https://aur.archlinux.org/packages/hib-dlagent/)
# can be used to download files. Add something like this in your makepkg.conf
# (you need to tweak the options to your needs):
# DLAGENTS+=('hib::/usr/bin/hib-dlagent -k $KEY -u $USER -p $PASS -o %o %u')
#
# The following is just a fallback to the above to notify the user:
DLAGENTS+=("hib::/usr/bin/echo %u - This is is not a real URL, you need to download the humble bundle file manually to \"$PWD\" or setup a hib:// DLAGENT. Read this PKGBUILD for more information.")
package() {
install -d "$pkgdir"/opt/volgarr-the-viking
# data
install -m644 Volgarr/{Data.pk,icon.png,Readme.txt} "$pkgdir"/opt/volgarr-the-viking
# binary
install -m755 Volgarr/Volgarr "$pkgdir"/opt/volgarr-the-viking
# launcher
install -Dm755 $pkgname.sh "$pkgdir"/usr/bin/volgarr-the-viking
# doc
install -d "$pkgdir"/usr/share/doc/volgarr-the-viking
ln -s /opt/volgarr-the-viking/Readme.txt "$pkgdir"/usr/share/doc/volgarr-the-viking
}

View file

@ -0,0 +1,3 @@
#!/bin/sh
cd /opt/volgarr-the-viking && exec ./Volgarr "$@"