summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Albers2020-03-12 01:26:13 +0100
committerDaniel Albers2020-03-12 01:26:13 +0100
commit169992a4730737d9ef8e3677ebc177433548a449 (patch)
tree085ddaa90adefa92cbff55266a78d74f72a0c281 /PKGBUILD
parentfc82cdb9990c69a3f6e5d8b342a4c55d53aa1003 (diff)
downloadaur-kitemviews-git.tar.gz
Use tag based versioning
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 03e75876b6b..c1f5f841c24 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kitemviews-git
-pkgver=r54.3157bc9
-pkgrel=2
+pkgver=v4.100.0.rc1.r220.g1de1402
+pkgrel=1
pkgdesc='KItemViews'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/frameworks/kitemviews'
@@ -16,8 +16,8 @@ source=('git://anongit.kde.org/kitemviews.git')
md5sums=('SKIP')
pkgver() {
- cd kitemviews
- 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() {