diff options
author | Kevin Brodsky | 2017-01-24 22:08:10 +0000 |
---|---|---|
committer | Kevin Brodsky | 2017-01-24 22:08:26 +0000 |
commit | f6638bc1832fabe5e1e5828af813f836b23bcb9d (patch) | |
tree | 40432694fea13b03b3173a62d2357c6c0d029714 /.SRCINFO | |
parent | 3fe6bf87c3afaf81c393c29b941acac5b635b260 (diff) | |
download | aur-f6638bc1832fabe5e1e5828af813f836b23bcb9d.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 13:15:08 UTC 2017 +# Tue Jan 24 22:08:14 UTC 2017 pkgbase = xnviewmp pkgdesc = An efficient multimedia viewer, browser and converter. pkgver = 0.84 @@ -16,9 +16,9 @@ pkgbase = xnviewmp optdepends = gvfs: support for moving files to trash 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 |