summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Jensen2023-05-27 18:17:49 +0200
committerGabriel Jensen2023-05-27 18:17:49 +0200
commit376159f794989f7e88e9e4a25abc49ec2893f153 (patch)
tree61aa0869883244f581119fe84ead1b00df0dff2f
parent02fbb6e562eb85a69157301af2c39854e8778789 (diff)
Also don't include '-rel' in version number;HEADmaster
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 293e863..e3e06b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Gabriel Jensen
pkgname=zp
-pkgver=1.0.0_70.3d14a58
+pkgver=1.0.0_89.08e2884
pkgrel=1
pkgdesc="Low-level system and algorithmics library."
arch=("any")
@@ -13,7 +13,7 @@ license=("MPL2")
sha512sums=("SKIP")
pkgver() {
cd "${srcdir}/zp"
- printf "%s_%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | sed "s/-dev//g"
+ printf "%s_%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | sed "s/-\(dev\|rel\)//g"
}
build() {
cd "${srcdir}/zp"