summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Blakeney2023-06-07 13:06:01 +1000
committerMark Blakeney2023-06-07 13:06:26 +1000
commit6c039834a3f76d74c60fee1683134cf3aed6d766 (patch)
treeec5febf5ab5ea33c3ca505a48a951c0327d3a950 /PKGBUILD
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.
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD7
1 files changed, 5 insertions, 2 deletions
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