From d876d6de34a78298ed041f575662015fb7eccdb5 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Thu, 15 Sep 2022 12:41:46 +0200 Subject: [PATCH] Fix pkgver() From changing the versioning Signed-off-by: Sam Therapy --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f0bec48..60cfaa4 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = awl-dns-git pkgdesc = A DNS client - pkgver = 0.2.0.r35.g61ddbb3 + pkgver = 0.5.0.r1.g0d011bb pkgrel = 1 url = https://git.froth.zone/sam/awl arch = i686 diff --git a/PKGBUILD b/PKGBUILD index 2a9ff55..80ef874 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Sam Therapy pkgname=awl-dns-git -pkgver=0.2.0.r35.g61ddbb3 +pkgver=0.5.0.r1.g0d011bb pkgrel=1 arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') pkgdesc="A DNS client" @@ -19,7 +19,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" - printf "%s" "$(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g')" + printf "%s" "$(git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')" } build() {