summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Schlisio2016-04-06 21:05:05 +0200
committerGeorg Schlisio2016-04-06 21:05:05 +0200
commite75989db2028335eda5addb6c6a297f00fe161c5 (patch)
tree0a8cf8293eca064bd10f39ee9e487f84b77b1a5c
downloadaur-e75989db2028335eda5addb6c6a297f00fe161c5.tar.gz
initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD30
-rw-r--r--trine3.install4
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..84b5c948a819
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = trine3-hib
+ pkgdesc = action role-playing platform and puzzle video game. humblebundle version.
+ pkgver = 2015.12.01
+ pkgrel = 1
+ url = https://trine3.com
+ install = trine3.install
+ arch = x86_64
+ license = commercial
+ source = hib://trine3_linux.zip
+ md5sums = 28070d73b2291c30e31b5ef486b9f3ac
+
+pkgname = trine3-hib
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..604ae892cd23
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: fordprefect <fordprefect@dukun.de>
+pkgname=trine3-hib
+pkgver=2015.12.01
+pkgrel=1
+pkgdesc="action role-playing platform and puzzle video game. humblebundle version."
+url="https://trine3.com"
+arch=('x86_64')
+license=('commercial')
+depends=("")
+install=trine3.install
+source=("hib://trine3_linux.zip")
+# there is a patch downloadable, but it is already included in the game
+md5sums=('28070d73b2291c30e31b5ef486b9f3ac')
+PKGEXT=".pkg.tar"
+DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Manually download it to \"$(pwd)\", or set up a hib:// DLAGENT in /etc/makepkg.conf."; exit 1')
+
+package() {
+ # copy game files
+ mkdir -p "${pkgdir}/opt/trine3"
+ mv "${srcdir}/linux/"* "${pkgdir}/opt/trine3"
+
+ # starter script
+ mkdir -p "${pkgdir}/usr/bin"
+ cat >> "${pkgdir}/usr/bin/trine3" << \here
+#!/bin/sh
+cd /opt/trine3
+trine3.sh
+here
+ chmod a+x "${pkgdir}/usr/bin/trine3"
+}
diff --git a/trine3.install b/trine3.install
new file mode 100644
index 000000000000..0f105d4902c3
--- /dev/null
+++ b/trine3.install
@@ -0,0 +1,4 @@
+post_install(){
+ echo "Info to optimus users: this game does work better"
+ echo "with primusrun than optirun."
+}