summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinRs2019-09-26 04:34:48 +0000
committerLinRs2019-09-26 04:34:48 +0000
commit206587eebf949b04c3d95cf66c13602f96396820 (patch)
treea877c2262446d8b379b3095561d989f09d86a729
parentcef14a600e57192fb50f31f08f5def7089181ff5 (diff)
downloadaur-206587eebf949b04c3d95cf66c13602f96396820.tar.gz
upgpkg: fs2_open-data 1.20-7
Thanks to lyghters.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 61e67577102b..0419d86ee1fa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = fs2_open-data
pkgdesc = FreeSpace 2 retail data for fs2_open
pkgver = 1.20
- pkgrel = 6
- url = http://www.gog.com/en/gamecard/freespace_2
+ pkgrel = 7
+ url = https://www.gog.com/game/freespace_2
arch = any
license = custom:freespace2
makedepends = icoutils
diff --git a/PKGBUILD b/PKGBUILD
index 989321a9eeca..874c9b588534 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,10 +19,10 @@
pkgname=fs2_open-data
pkgver=1.20
-pkgrel=6
+pkgrel=7
pkgdesc="FreeSpace 2 retail data for fs2_open"
arch=('any')
-url="http://www.gog.com/en/gamecard/freespace_2"
+url="https://www.gog.com/game/freespace_2"
license=('custom:freespace2')
makedepends=('icoutils' 'innoextract' 'recode')
PKGEXT=".pkg.tar"
@@ -30,12 +30,12 @@ PKGEXT=".pkg.tar"
prepare() {
# Could possibly support older versions of the GOG installer too,
# but it's worth it to have the latest version.
- local _gog_md5="2870b98722a1e56a360e3a959019e678"
- local _gog_exe="setup_freespace2_2.0.0.8.exe"
+ local _gog_sha256="6070befe0e041aa80c824593ac3ed2430ea18eb14aba6bdb1704fd375786c707"
+ local _gog_exe="setup_freespace_2_1.20.exe"
if [ -f ../$_gog_exe ]; then
- echo "GOG installer detected; checking md5sum ..."
- if ! echo "$_gog_md5 ../$_gog_exe" | md5sum -c --status; then
- error "Invalid md5sum; verify your download and try again."
+ echo "GOG installer detected; checking sha256sum ..."
+ if ! echo "$_gog_sha256 ../$_gog_exe" | sha256sum -c --status; then
+ error "Invalid sha256sum; verify your download and try again."
return 1
else
ln -s ../$_gog_exe .