summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2017-07-21 22:29:40 +0200
committerCarsten Teibes2017-07-21 22:29:40 +0200
commit24e30ea16f1ba7f3d42add64bb2b18ad81e44e98 (patch)
tree35473c16599fd304da27c2bc5ab319bb25d80bcb
parenta4db9ff81d5486551ab117c5a0fed719d0632551 (diff)
downloadaur-24e30ea16f1ba7f3d42add64bb2b18ad81e44e98.tar.gz
[upd] 2.0.0.4→2.0.0.5
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 14 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dcc322da8c1..72e51232891 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,18 @@
pkgbase = papers-please-gog
pkgdesc = A Dystopian Document Thriller (gog.com version)
- pkgver = 2.0.0.4
+ pkgver = 2.0.0.5
pkgrel = 1
url = http://gog.com/game/papers_please
arch = x86_64
arch = i686
license = custom: commercial
+ makedepends = coreutils
+ makedepends = unzip
depends = sh
- source = gog_papers_please_2.0.0.4.sh::gogdownloader://papers_please/installer_linux_en
+ source = gog_papers_please_2.0.0.5.sh::gogdownloader://papers_please/installer_linux_en
source = papers-please-gog.sh
source = papers-please-gog.desktop
- sha256sums = 13a37a037ef9bda90ac77e878415e678e53814c2ebaf2be29819b0cad297f5ad
+ sha256sums = dd92bfa6e5583bfeb3a9dc8af84cb51bd44b9183508296e0c8021d71218dd464
sha256sums = 9227f364836b975d05609481c0d67e7b6fd8e52f7bb931b39af98d864b296d2e
sha256sums = 3273cd3c3f35495d00debbd0d10ad2d188b8cf1b40bc9a754c7e4c6fe82173f6
depends_x86_64 = lib32-libgl
diff --git a/PKGBUILD b/PKGBUILD
index b0f9538e126..98510f229eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=papers-please-gog
-pkgver=2.0.0.4
+pkgver=2.0.0.5
pkgrel=1
pkgdesc="A Dystopian Document Thriller (gog.com version)"
url="http://gog.com/game/papers_please"
@@ -10,10 +10,11 @@ arch=('x86_64' 'i686')
depends=('sh')
depends_i686=('libgl' 'gcc-libs')
depends_x86_64=('lib32-libgl' 'lib32-gcc-libs')
+makedepends=('coreutils' 'unzip')
source=("gog_papers_please_$pkgver.sh"::"gogdownloader://papers_please/installer_linux_en"
"$pkgname.sh"
"$pkgname.desktop")
-sha256sums=('13a37a037ef9bda90ac77e878415e678e53814c2ebaf2be29819b0cad297f5ad'
+sha256sums=('dd92bfa6e5583bfeb3a9dc8af84cb51bd44b9183508296e0c8021d71218dd464'
'9227f364836b975d05609481c0d67e7b6fd8e52f7bb931b39af98d864b296d2e'
'3273cd3c3f35495d00debbd0d10ad2d188b8cf1b40bc9a754c7e4c6fe82173f6')
PKGEXT=".pkg.tar"
@@ -25,6 +26,12 @@ PKGEXT=".pkg.tar"
# The following is just a fallback to the above to notify the user:
DLAGENTS+=('gogdownloader::/usr/bin/awk BEGIN{print"Please\ download\ the\ file\ \\""\ substr("%o",1,length("%o")-5)\ "\\"\ manually\\nor\ setup\ a\ gogdownloader://\ DLAGENT\ in\ makepkg.conf!\ Read\ this\ PKGBUILD\ for\ more\ information.";exit\ 1}')
+prepare() {
+ # getting the zip archive out of the installer
+ tail -c+955279 gog_papers_please_$pkgver.sh > papers_please.zip
+ unzip -q papers_please.zip
+}
+
package() {
cd data/noarch
install -d "$pkgdir"/opt/papers-please