summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 76bc161469b4..5092de9a5643 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=kakoune-git
-pkgver=2023.08.05
-pkgrel=2
+pkgver=v2023.08.05+r366+g8bb0f44c2
+pkgrel=1
pkgdesc="Multiple-selection, UNIX-flavored modal editor"
arch=("x86_64" "armv7h")
url="https://github.com/mawww/kakoune"
@@ -28,7 +28,7 @@ options=("!buildflags")
pkgver() {
cd "${srcdir}/${pkgname}"
- git describe --tags | tr "-" "_" | sed "s/^v//; s/_/_r/"
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
check() {