summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSwix2020-08-01 23:50:06 +0200
committerSwix2020-08-01 23:50:06 +0200
commit6b466d23a96bf20f9ce897d21f817276efee5579 (patch)
tree9b583de295aacc6799ed859e2c9d16068211b423
parent0a462006f365f741efb92db929b79866e08a2f0a (diff)
downloadaur-6b466d23a96bf20f9ce897d21f817276efee5579.tar.gz
Update to the last version (1.4.0.5.38805)
Thanks to ztheoz for the patch
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f0dea53c235e..fda4f89a3893 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gog-terraria
pkgdesc = The very world is at your fingertips as you fight for survival, fortune, and glory.
- pkgver = 1.3.5.3.14602
+ pkgver = 1.4.0.5.38805
pkgrel = 1
epoch = 1
url = http://terraria.org/
@@ -10,11 +10,11 @@ pkgbase = gog-terraria
makedepends = libarchive
depends = sdl2
optdepends = firejail: Automatically sandbox this application from your OS
- noextract = terraria_en_1_3_5_3_14602.sh
- source = gog://terraria_en_1_3_5_3_14602.sh
+ noextract = terraria_v1_4_0_5_38805.sh
+ source = gog://terraria_v1_4_0_5_38805.sh
source = gog-terraria.desktop
source = gog-terraria
- sha256sums = f70d831caad51aa6c37a195a0740990c0625ce38b8e2302c290903b5559351ec
+ sha256sums = 3c2e0145f30829cf0c956a69aca8867a4027d9dadbcb0a359ad70eade3bae066
sha256sums = 815bf359c2828cdefee1e33a978a84a2ebb538450197a5792b62e382ae3e3093
sha256sums = afc115c0cbb42a12e082f5860c159eb8dcf525d360d2f9b167cc4ddb80ba03e7
diff --git a/PKGBUILD b/PKGBUILD
index 46e99dd97f80..f70c00a8d93e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Swix
pkgname=gog-terraria
-pkgver=1.3.5.3.14602
+pkgver=1.4.0.5.38805
pkgrel=1
epoch=1
pkgdesc="The very world is at your fingertips as you fight for survival, fortune, and glory."
@@ -11,13 +11,13 @@ arch=('i686' 'x86_64')
depends=('sdl2')
makedepends=('libarchive')
optdepends=('firejail: Automatically sandbox this application from your OS')
-source=("gog://terraria_en_${pkgver//./_}.sh"
+source=("gog://terraria_v${pkgver//./_}.sh"
"${pkgname}.desktop"
"$pkgname")
# bsdtar is really cool but I want to control what I'm extracting
-noextract=("terraria_en_${pkgver//./_}.sh")
-sha256sums=('f70d831caad51aa6c37a195a0740990c0625ce38b8e2302c290903b5559351ec'
+noextract=("terraria_v${pkgver//./_}.sh")
+sha256sums=('3c2e0145f30829cf0c956a69aca8867a4027d9dadbcb0a359ad70eade3bae066'
'815bf359c2828cdefee1e33a978a84a2ebb538450197a5792b62e382ae3e3093'
'afc115c0cbb42a12e082f5860c159eb8dcf525d360d2f9b167cc4ddb80ba03e7')
@@ -28,7 +28,7 @@ DLAGENTS+=("gog::/usr/bin/echo %u - This is is not a real URL, you need to downl
PKGEXT='.pkg.tar'
prepare(){
- datasource="terraria_en_${pkgver//./_}.sh"
+ datasource="terraria_v${pkgver//./_}.sh"
offset=`sed -n '/.*offset=.*head/{s/.*head -n \([0-9]*\).*/\1/p;q}' "$datasource"`
toskip=`sed -n '/filesizes=/{s/.*="\([0-9]*\)"/\1/p;q}' "$datasource"`
@@ -67,4 +67,4 @@ package(){
# Fix permissions
chmod +x "${pkgdir}/opt/${pkgname}/game/Terraria"{,Server}{,.bin.x86,.bin.x86_64}
popd
-}
+} \ No newline at end of file