Version proper tags when greater than 10
This commit is contained in:
parent
7b6d140c33
commit
d026117052
2 changed files with 3 additions and 3 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -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
|
||||
|
|
2
PKGBUILD
2
PKGBUILD
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue