diff options
author | Dennis Herbrich | 2023-02-12 18:04:05 +0100 |
---|---|---|
committer | Dennis Herbrich | 2023-02-12 18:04:05 +0100 |
commit | 7d70fc49a59034f5ff590eebd21161428abdacce (patch) | |
tree | 7628c291136d590457784dd645f8ff23129199ef | |
parent | c1cbf98c27d96b0df582aea3728cba4e07661a6c (diff) | |
download | aur-7d70fc49a59034f5ff590eebd21161428abdacce.tar.gz |
fix(package): version number change 2.1b-1 => 2.1.b-1
Upstream labels version like "2.1" and "2.1b", or "1.9.6" and "1.9.6c",
with the latter being parsed as a pre-release/beta by pacman vercmp, and
thus not being considered an update of the former. The pkgver scheme I
have chosen to adopt to solve this issue now:
- differs minimally from upstream
- properly signals updates to pacman/AUR helpers, and
- looks absolutely horrible. I am truly sorry.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 12 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = sunvox pkgdesc = Small, fast and powerful modular synthesizer with pattern-based sequencer (tracker). - pkgver = 2.1b + pkgver = 2.1.b pkgrel = 1 url = http://warmplace.ru/soft/sunvox/ arch = i686 @@ -4,7 +4,16 @@ # Contributor: zwergnase <zwergnase@posteo.de> pkgname=sunvox -pkgver=2.1b +# upstream labels version like "2.1" and "2.1b", or "1.9.6" and "1.9.6c", with +# the latter being parsed as a pre-release/beta by pacman vercmp, and thus not +# being considered an update of the former. The pkgver scheme I have chosen +# to adopt to solve this issue now: +# - differs minimally from upstream +# - properly signals updates to pacman/AUR helpers, and +# - looks absolutely horrible. I am truly sorry. +# On upgrade, remember to bump $pkgver *and* $_pkgver_upstream. +pkgver=2.1.b +_pkgver_upstream=2.1b pkgrel=1 pkgdesc="Small, fast and powerful modular synthesizer with pattern-based sequencer (tracker)." arch=('i686' 'x86_64') @@ -26,7 +35,7 @@ if [[ "$CARCH" == "x86_64" ]]; then 'libxext: required for sunvox_opengl' 'libxi: required for sunvox_opengl') fi -source=(http://warmplace.ru/soft/sunvox/$pkgname-$pkgver.zip sunvox.desktop sunvox.xml) +source=(http://warmplace.ru/soft/sunvox/$pkgname-$_pkgver_upstream.zip sunvox.desktop sunvox.xml) sha256sums=('2eb81fe55ef66f96261eab2d54197e8b02153bfa9593001dd8c7796274ce45cd' 'b45ee10df93982ac0d36c6887fe637c28b3c3de7013aa3462291629eed2dcc8d' '7ac2192298abdda802832518c98721b08881e32e8b470f2989c614852dd44f67') |