summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Beste2017-06-06 20:29:17 -0500
committerDan Beste2017-06-06 20:29:17 -0500
commit8f8882b5146a973132236e4cc293fd65208a55fa (patch)
tree5a0f71d9d2cfb7e35f54941440162f157825845b
parent5c7236b0629a47655b1b235648487ff8a0406595 (diff)
downloadaur-8f8882b5146a973132236e4cc293fd65208a55fa.tar.gz
v2.0.0.3
-rw-r--r--.SRCINFO9
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD38
3 files changed, 30 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc8322555db..837dc9b51aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
-# 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
+ pkgdesc = Don't Starve: Reign of Giants DLC
pkgver = 2.0.0.3
pkgrel = 1
url = https://www.kleientertainment.com/games/dont-starve
- arch = any
+ arch = i686
+ arch = x86_64
license = custom
depends = gog-dont-starve
- source = gog://gog_don_t_starve_reign_of_giants_dlc_2.0.0.3.sh
+ source = file://gog_don_t_starve_reign_of_giants_dlc_2.0.0.3.sh
sha256sums = 814ef06c04d372077480dfea4d132d1613297f4f01722a9a324a4aee7af6cd22
pkgname = gog-dont-starve-rog
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..9865d22ba8e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+# Blacklist:
+*
+
+# Whitelist:
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index fa4dadeabb2..b5c0256cc68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,30 @@
-# Maintainer: Ainola
+# Maintainer: Dan Beste <dan.ray.beste@gmail.com>
+# Contributor: Ainola
-pkgname=gog-dont-starve-rog
+# Notes:
+# + gog:// DLAGENT:
+# - A gog:// DLAGENT can be configured in /etc/makepkg.conf to
+# automatically pull game files from GOG.
+# - https://github.com/Sude-/lgogdownloader
+
+pkgname='gog-dont-starve-rog'
pkgver=2.0.0.3
pkgrel=1
-pkgdesc="Reign of Giants DLC for Don't Starve"
+pkgdesc="Don't Starve: Reign of Giants DLC"
url="https://www.kleientertainment.com/games/dont-starve"
license=('custom')
-arch=('any')
+arch=('i686' 'x86_64')
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"
-}
+source=(
+ "file://gog_don_t_starve_reign_of_giants_dlc_${pkgver}.sh"
+)
+sha256sums=(
+ '814ef06c04d372077480dfea4d132d1613297f4f01722a9a324a4aee7af6cd22'
+)
package(){
- cd "$srcdir"
+ cd "${srcdir}"
+
install -d "${pkgdir}/opt/gog-dont-starve/"
cp -r "data/noarch/game/" "${pkgdir}/opt/gog-dont-starve/"
}