summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 11 insertions, 2 deletions
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')