summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Blakeney2023-06-07 13:06:01 +1000
committerMark Blakeney2023-06-07 13:06:26 +1000
commit6c039834a3f76d74c60fee1683134cf3aed6d766 (patch)
treeec5febf5ab5ea33c3ca505a48a951c0327d3a950
parent2fa935cf925ddbd7052f81288137ec773645a642 (diff)
downloadaur-scid_vs_pc.tar.gz
Embed pkgrel in download file name
We embed the pkgrel in the download file name because SCID devs sometimes use the same version number for an update and any previously cached file will otherwise fail against the new checksum.
-rw-r--r--.SRCINFO4
-rwxr-xr-xPKGBUILD7
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b0edd6ccbaf2..142b94905752 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = scid_vs_pc
pkgdesc = Shane's Chess Information Database
pkgver = 4.24
- pkgrel = 2
+ pkgrel = 3
url = http://scidvspc.sourceforge.net/
install = scid_vs_pc.install
arch = i686
@@ -12,7 +12,7 @@ pkgbase = scid_vs_pc
optdepends = snack
optdepends = tdom
conflicts = scid
- source = scid_vs_pc-4.24.tgz::http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-4.24.tgz/download
+ source = scid_vs_pc-4.24-3.tgz::http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-4.24.tgz/download
source = scid
source = scid_vs_pc.desktop
source = scid_vs_pc.install
diff --git a/PKGBUILD b/PKGBUILD
index 73e87f379a02..52b99e785d48 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=scid_vs_pc
pkgver=4.24
-pkgrel=2
+pkgrel=3
pkgdesc="Shane's Chess Information Database"
arch=('i686' 'x86_64')
url="http://scidvspc.sourceforge.net/"
@@ -12,7 +12,10 @@ depends=('zlib' 'tk')
optdepends=('snack' 'tdom')
install=$pkgname.install
conflicts=('scid')
-source=("scid_vs_pc-"$pkgver".tgz::http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-"$pkgver".tgz/download"
+# We embed the pkgrel in the download file name because SCID devs
+# sometimes use the same version number for an update and any previously
+# cached file will otherwise fail against the new checksum.
+source=("scid_vs_pc-$pkgver-$pkgrel.tgz::http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-"$pkgver".tgz/download"
scid
$pkgname.desktop
$pkgname.install