Fix pkgver()
From changing the versioning Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
c8686b1e14
commit
d876d6de34
2 changed files with 3 additions and 3 deletions
2
.SRCINFO
2
.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
|
||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: Sam Therapy <sam at samtherapy dot net>
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue