summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormrdotx2023-03-24 15:19:26 +0100
committermrdotx2023-03-24 15:19:26 +0100
commit0f882845090756f1aee4ff4d61e805101e428a85 (patch)
tree66c0556ed69b5df8deb900b4d63edc551b9e96f4 /PKGBUILD
parent71a83887bc002b927c5a66983879e7770ace008e (diff)
downloadaur-iwd-git.tar.gz
pkgver procedure updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d43a488c2135..6a9da513038d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Christian Rebischke <chris.rebischke@archlinux.org>
_pkgname='iwd'
pkgname=iwd-git
-pkgver=r6868.e82dac4
+pkgver=2.3.r14.ge82dac4b
pkgrel=1
pkgdesc='Internet Wireless Daemon'
arch=('i686' 'x86_64')
@@ -33,8 +33,7 @@ install=iwd.install
pkgver() {
cd "$_pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" \
- "$(git rev-parse --short=7 HEAD)"
+ git describe --long | sed -r 's/^r//;s/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {