Version proper tags when greater than 10

This commit is contained in:
Sam Therapy 2022-12-05 15:24:14 +01:00
parent 7b6d140c33
commit d026117052
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = awl-dns-git
pkgdesc = A DNS client
pkgver = 0.5.8.r10.ga64a260
pkgrel = 2
pkgver = 0.5.10.r3.g7e7c88d
pkgrel = 1
url = https://git.froth.zone/sam/awl
arch = i686
arch = pentium4

View file

@ -19,7 +19,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "%s" "$(git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')"
printf "%s" "$(git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')"
}
build() {