summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Herbrich2023-02-12 18:04:05 +0100
committerDennis Herbrich2023-02-12 18:04:05 +0100
commit7d70fc49a59034f5ff590eebd21161428abdacce (patch)
tree7628c291136d590457784dd645f8ff23129199ef
parentc1cbf98c27d96b0df582aea3728cba4e07661a6c (diff)
downloadaur-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--.SRCINFO2
-rw-r--r--PKGBUILD13
2 files changed, 12 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0a1b6bbc82de..124214070de4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 89bb89539d58..706dbd9a7b72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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')