diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = gog-terraria pkgdesc = The very world is at your fingertips as you fight for survival, fortune, and glory. pkgver = 1.4.0.5.38805 - pkgrel = 2 + pkgrel = 3 epoch = 1 url = http://terraria.org/ arch = i686 @@ -14,9 +14,11 @@ pkgbase = gog-terraria source = gog://terraria_v1_4_0_5_38805.sh source = gog-terraria.desktop source = gog-terraria + source = gog-terraria.profile sha256sums = 3c2e0145f30829cf0c956a69aca8867a4027d9dadbcb0a359ad70eade3bae066 sha256sums = 815bf359c2828cdefee1e33a978a84a2ebb538450197a5792b62e382ae3e3093 - sha256sums = afc115c0cbb42a12e082f5860c159eb8dcf525d360d2f9b167cc4ddb80ba03e7 + sha256sums = 223137957a9ba6474f73f8f6610d6d7dba154e70106792e2d8b4d70b67a6dfce + sha256sums = 9ec20a7515dd54a518da4fab006e0b2313deff1c341a3bd163f0e1305b6be5b6 pkgname = gog-terraria @@ -2,7 +2,7 @@ pkgname=gog-terraria pkgver=1.4.0.5.38805 -pkgrel=2 +pkgrel=3 epoch=1 pkgdesc="The very world is at your fingertips as you fight for survival, fortune, and glory." url="http://terraria.org/" @@ -13,13 +13,15 @@ makedepends=('libarchive') optdepends=('firejail: Automatically sandbox this application from your OS') source=("gog://terraria_v${pkgver//./_}.sh" "${pkgname}.desktop" - "$pkgname") + "$pkgname" + "$pkgname.profile") # bsdtar is really cool but I want to control what I'm extracting noextract=("terraria_v${pkgver//./_}.sh") sha256sums=('3c2e0145f30829cf0c956a69aca8867a4027d9dadbcb0a359ad70eade3bae066' '815bf359c2828cdefee1e33a978a84a2ebb538450197a5792b62e382ae3e3093' - 'afc115c0cbb42a12e082f5860c159eb8dcf525d360d2f9b167cc4ddb80ba03e7') + '223137957a9ba6474f73f8f6610d6d7dba154e70106792e2d8b4d70b67a6dfce' + '9ec20a7515dd54a518da4fab006e0b2313deff1c341a3bd163f0e1305b6be5b6') # 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.") @@ -63,6 +65,8 @@ package(){ "${pkgdir}/usr/share/applications/${pkgname}.desktop" install -Dm755 "${srcdir}/${pkgname}" \ "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "${srcdir}/${pkgname}.profile" \ + "${pkgdir}/opt/${pkgname}/${pkgname}.profile" # Fix permissions chmod +x "${pkgdir}/opt/${pkgname}/game/Terraria"{,Server}{,.bin.x86,.bin.x86_64} |