summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAinola2015-12-15 20:44:34 -0700
committerAinola2015-12-15 20:44:34 -0700
commit5c7236b0629a47655b1b235648487ff8a0406595 (patch)
tree328280dff0d9e5e55b8a4014f1f009d9bd5e7ec7
downloadaur-5c7236b0629a47655b1b235648487ff8a0406595.tar.gz
initial
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD30
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dc8322555db
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Wed Dec 16 03:44:15 UTC 2015
+pkgbase = gog-dont-starve-rog
+ pkgdesc = Reign of Giants DLC for Don't Starve
+ pkgver = 2.0.0.3
+ pkgrel = 1
+ url = https://www.kleientertainment.com/games/dont-starve
+ arch = any
+ license = custom
+ depends = gog-dont-starve
+ source = gog://gog_don_t_starve_reign_of_giants_dlc_2.0.0.3.sh
+ sha256sums = 814ef06c04d372077480dfea4d132d1613297f4f01722a9a324a4aee7af6cd22
+
+pkgname = gog-dont-starve-rog
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fa4dadeabb2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Ainola
+
+pkgname=gog-dont-starve-rog
+pkgver=2.0.0.3
+pkgrel=1
+pkgdesc="Reign of Giants DLC for Don't Starve"
+url="https://www.kleientertainment.com/games/dont-starve"
+license=('custom')
+arch=('any')
+depends=('gog-dont-starve')
+source=("gog://gog_don_t_starve_reign_of_giants_dlc_${pkgver}.sh")
+sha256sums=('814ef06c04d372077480dfea4d132d1613297f4f01722a9a324a4aee7af6cd22')
+
+# You need to download the gog.com installer file manually or with lgogdownloader.
+DLAGENTS+=("gog::/usr/bin/echo %u - This is is not a real URL, you need to download the GOG file manually to \"$PWD\" or setup a gog:// DLAGENT. Read this PKGBUILD for more information.")
+
+# Prevent compressing final package
+PKGEXT='.pkg.tar'
+
+prepare(){
+ cd "$srcdir/data/noarch"
+ [ $CARCH == "x86" ] && rm -r "game/dontstarve64"
+ [ $CARCH == "x86_64" ] && rm -r "game/dontstarve32"
+}
+
+package(){
+ cd "$srcdir"
+ install -d "${pkgdir}/opt/gog-dont-starve/"
+ cp -r "data/noarch/game/" "${pkgdir}/opt/gog-dont-starve/"
+}