summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Angelopoulos2021-02-28 20:49:42 +0200
committerGeorge Angelopoulos2021-02-28 20:49:42 +0200
commit0be365fab09a691e35c5cf68358810876c4e7b55 (patch)
treebd047fdf5036a85d9404ebff54a4746e31920652
parent17aca6fa9e3b8b7bba703acbea804ada5feb5b84 (diff)
downloadaur-0be365fab09a691e35c5cf68358810876c4e7b55.tar.gz
set custom name for source archive
The source archive filename does not contain any version numbers and generally never changes. This means that AUR helpers see the old file and attempt to use it without downloading the new one, but the checksum fails. Disabling the checksum is not a solution because then the AUR helpers would just use the old chached version. With this commit each new source file is named with the version number so they do not conflict.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e00e5d1fc68..bac413a8592 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = fadein
pkgdesc = Professional screenwriting software (DEMO)
pkgver = 3.0.641
- pkgrel = 1
+ pkgrel = 2
url = http://www.fadeinpro.com/
arch = x86_64
license = custom
depends = gtk2
- source = http://www.fadeinpro.com/download/demo/fadein-linux-amd64-demo.tar.gz
+ source = fadein-3.0.641.tar.gz::http://www.fadeinpro.com/download/demo/fadein-linux-amd64-demo.tar.gz
md5sums = 971583df105c488be225ee92d29dc600
pkgname = fadein
diff --git a/PKGBUILD b/PKGBUILD
index 0b20fea22a6..2277165e904 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: George Angelopoulos <george@usermod.net>
pkgname=fadein
pkgver=3.0.641
-pkgrel=1
+pkgrel=2
pkgdesc="Professional screenwriting software (DEMO)"
arch=('x86_64')
url="http://www.fadeinpro.com/"
# No license file is provided.
license=('custom')
depends=('gtk2')
-source=("http://www.fadeinpro.com/download/demo/fadein-linux-amd64-demo.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::http://www.fadeinpro.com/download/demo/fadein-linux-amd64-demo.tar.gz")
md5sums=('971583df105c488be225ee92d29dc600')
_vendor_name="fadein-linux-amd64"