diff options
author | Kevin Brodsky | 2017-01-24 22:08:10 +0000 |
---|---|---|
committer | Kevin Brodsky | 2017-01-25 00:54:36 +0000 |
commit | 83190757ccdb8c6eb543bae18d5c0a00b55faf12 (patch) | |
tree | f3b2abdfc23f07a5144abea002f43d3215ecb024 /.SRCINFO | |
parent | 23df8d23ae97eeb5c7ee8cdd74add1f9363f5b22 (diff) | |
download | aur-83190757ccdb8c6eb543bae18d5c0a00b55faf12.tar.gz |
Version source archives
Add the version number to the downloaded source archives. This talks
makepkg into redownloading the sources when there is a new release,
instead of keeping the old archive and failing the checksum. This also
has the nice side-effect of keeping previous source versions, should one
want to downgrade the package.
Since upstream does not always bump the version number when releasing
new sources, I had to use a trick to make it work. "-rel$srcrel" is
appended to the filename, and if new sources of the same version are
released, srcrel is incremented (and then reset to 1 when a new version
is released). Not beautiful, but it should do the job.
Diffstat (limited to '.SRCINFO')
-rw-r--r-- | .SRCINFO | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sat Jan 21 15:31:26 UTC 2017 +# Wed Jan 25 00:54:17 UTC 2017 pkgbase = xnviewmp-system-libs pkgdesc = An efficient multimedia viewer, browser and converter (using system libraries). pkgver = 0.84 @@ -17,9 +17,9 @@ pkgbase = xnviewmp-system-libs conflicts = xnviewmp source = xnviewmp.desktop md5sums = 24f44d5a881b94daf48775213a57e4ec - source_x86_64 = http://download.xnview.com/XnViewMP-linux-x64.tgz + source_x86_64 = XnViewMP-linux-x64_0.84-rel1.tgz::http://download.xnview.com/XnViewMP-linux-x64.tgz md5sums_x86_64 = a1202367f23f32e14a6a0d860564e1da - source_i686 = http://download.xnview.com/XnViewMP-linux.tgz + source_i686 = XnViewMP-linux_0.84-rel1.tgz::http://download.xnview.com/XnViewMP-linux.tgz md5sums_i686 = 75e9e03aa41da988eb66524574794b31 pkgname = xnviewmp-system-libs |