summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Albers2020-03-12 01:14:28 +0100
committerDaniel Albers2020-03-12 01:14:28 +0100
commitf8080bf8caebf39587d1a755261fd91a8d0d5caf (patch)
tree82f85e2259933144104d6c4920700c2942a6c50e
parenta56d674463501f61a9708097f62c07d635dff690 (diff)
downloadaur-f8080bf8caebf39587d1a755261fd91a8d0d5caf.tar.gz
Use tag based versioning
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bb4f65d622b3..0c92dc7ed28f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kguiaddons-git
pkgdesc = KGuiAddons
- pkgver = r54.9625907
+ pkgver = v5.68.0.rc1.r0.g6c5ee03
pkgrel = 1
url = https://projects.kde.org/projects/frameworks/kguiaddons
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index e57427215cb9..5fa740ada12f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kguiaddons-git
-pkgver=r54.9625907
+pkgver=v5.68.0.rc1.r0.g6c5ee03
pkgrel=1
pkgdesc='KGuiAddons'
arch=('i686' 'x86_64')
@@ -16,8 +16,8 @@ source=('git://anongit.kde.org/kguiaddons.git')
md5sums=('SKIP')
pkgver() {
- cd kguiaddons
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd ${pkgname%-git}
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {