From 376159f794989f7e88e9e4a25abc49ec2893f153 Mon Sep 17 00:00:00 2001 From: Gabriel Jensen Date: Sat, 27 May 2023 18:17:49 +0200 Subject: Also don't include '-rel' in version number; --- PKGBUILD | 4 ++-- 1 file 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" -- cgit v1.2.3