summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorruniq2017-03-04 15:53:45 +0100
committerruniq2017-03-04 15:53:45 +0100
commitc416a01790d456c2ecd839e9317c790af303c8cb (patch)
tree9b7c43d970b3b662758aef357bdb5b4b5b47561c /PKGBUILD
downloadaur-c416a01790d456c2ecd839e9317c790af303c8cb.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d283058dc2b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Patrice Peterson <runiq at archlinux dot us>
+pkgname=gog-torment-tides-of-numenera
+_pkgname=torment-tides-of-numenera
+pkgver=2.0.0.1
+pkgrel=1
+pkgdesc="An RPG and the spiritual successor to Planescape: Torment"
+arch=('i686' 'x86_64')
+url="https://torment.inxile-entertainment.com"
+license=('custom')
+depends=("sdl2")
+DLAGENTS+=("gog::/usr/bin/echo Could not find %u. Manually download it to \"$(pwd)\", or set up a gog:// DLAGENT in /etc/makepkg.conf.")
+source=("gog://gog_torment_tides_of_numenera_$pkgver.sh"
+ "$pkgname"
+ "$pkgname.desktop")
+sha256sums=('2842af82dc6e7885fb4b104b1e13c4df1ffe5f21ca21d60a6d07e3f8508ee015'
+ 'daa3eef865d94af6ce116ff176074feae94c5b84fba0b60ec17186bd57dd3758'
+ '72b4a6024869b2e83a1a9371b1219d9f54ffaaf7f9a097c784cfc351ed64333e')
+PKGEXT=".pkg.tar"
+
+
+package() {
+ mkdir -p "$pkgdir/opt/$pkgname"
+ cp -r data/noarch/* "$pkgdir/opt/$pkgname"
+ # Remove packaged libraries that result in the game not starting
+ install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 data/noarch/support/icon.png "$pkgdir/usr/share/pixmaps/hicolor/256x256/$pkgname.png"
+ install -Dm644 data/noarch/docs/End\ User\ License\ Agreement.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}