summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNascher2016-01-31 10:56:22 +0100
committerNascher2016-01-31 10:59:12 +0100
commit43e0e87503c566c0f5ef696f713139edb40aed96 (patch)
treeb079013bb8e109e2de324df8e21aff3b05db1f42
parent2d11a7eac67eaa45c0fab352a4243ca1d94ad4de (diff)
downloadaur-43e0e87503c566c0f5ef696f713139edb40aed96.tar.gz
Update to 2.6.0.8 and use lgogdownloader as a download agent (Thanks bwrsandman)
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD16
2 files changed, 15 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6535989e827..221848dbbe88 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,19 @@
+# Generated by mksrcinfo v8
+# Sun Jan 31 09:55:23 UTC 2016
pkgbase = gog-shovel-knight
pkgdesc = Yacht Club Games
- pkgver = 2.5.0.7
+ pkgver = 2.6.0.8
pkgrel = 1
url = http://www.gog.com/game/shovel_knight
arch = i686
arch = x86_64
groups = games
license = custom:commercial
+ makedepends = lgogdownloader>=2.25
depends = sdl2
- source = gog://gog_shovel_knight_2.5.0.7.sh
+ source = gogdownloader://shovel_knight/en3installer4
source = gog-shovel-knight.desktop
- sha512sums = 0aa037055fb440bbeec79f2bc3b743a9b145297921677fb4355d055801d2e5be8aadd6ac83b751ac0fa10fd13b30cd255ce5b867c321d3074a2b1021d85af1f7
+ sha512sums = 455cbb79d232c6cda3aec402553497a87fb897b9b3e0575e0e018e1439581c09b3bc2d171c7238ef3259dcd4768fe1534d4dc80df91771b884185c501784c1cd
sha512sums = a30a86d218c1249aef5e4f8116d90b61913c74a0bb0629ef1a04c3736d2a3d1960d6b28d562aa83bbc49383594c55de346f9e1893e222e50bba6ebe0d8cd43fc
pkgname = gog-shovel-knight
diff --git a/PKGBUILD b/PKGBUILD
index 9254dde84c55..2b96dbc90cb8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,23 +4,25 @@
# This package is based on the gog-terraria package and the gog-freedom-planet package from Ainola.
pkgname=gog-shovel-knight
-pkgver=2.5.0.7
+pkgver=2.6.0.8
pkgrel=1
+_gamename=${pkgname#gog-}
+_gamename_=${_gamename//-/_}
+
pkgdesc='Yacht Club Games'
arch=("i686" "x86_64")
url='http://www.gog.com/game/shovel_knight'
license=('custom:commercial')
depends=('sdl2')
groups=('games')
-source=("gog://${pkgname//-/_}_${pkgver}.sh" "${pkgname}.desktop")
-sha512sums=('0aa037055fb440bbeec79f2bc3b743a9b145297921677fb4355d055801d2e5be8aadd6ac83b751ac0fa10fd13b30cd255ce5b867c321d3074a2b1021d85af1f7'
+source=("gogdownloader://${_gamename_}/en3installer4" "${pkgname}.desktop")
+sha512sums=('455cbb79d232c6cda3aec402553497a87fb897b9b3e0575e0e018e1439581c09b3bc2d171c7238ef3259dcd4768fe1534d4dc80df91771b884185c501784c1cd'
'a30a86d218c1249aef5e4f8116d90b61913c74a0bb0629ef1a04c3736d2a3d1960d6b28d562aa83bbc49383594c55de346f9e1893e222e50bba6ebe0d8cd43fc')
-# 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.")
+# Register lgogdownloader as a download agent
+DLAGENTS+=('gogdownloader::/usr/bin/lgogdownloader --download-file=%u -o %o')
-# Prevent compressing final package
-PKGEXT='.pkg.tar'
+makedepends=("lgogdownloader>=2.25")
prepare(){
cd "$srcdir/data/noarch"