summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Albers2020-03-12 01:02:27 +0100
committerDaniel Albers2020-03-12 01:02:27 +0100
commitdd7215182d255f21cdef33386ec620f5bc5e0734 (patch)
tree88c5f2543d4e82fbc7b73617ecb5eb308077ebb3
parent4c29bdb410b23d53f30d342b38c9ee0c7352ff4d (diff)
downloadaur-dd7215182d255f21cdef33386ec620f5bc5e0734.tar.gz
Use tag based versioning
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7aaf0f7cc6e..f62ff3dbda2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Fri Jun 24 02:51:07 UTC 2016
pkgbase = kcmutils-git
pkgdesc = Utilities for interacting with KCModules
- pkgver = r103.f3e45a3
- pkgrel = 3
+ pkgver = v4.100.0.rc1.r321.gcce381b
+ pkgrel = 1
url = https://projects.kde.org/projects/frameworks/kcmutils
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 071241ac9d1..399813adf62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kcmutils-git
-pkgver=r103.f3e45a3
-pkgrel=3
+pkgver=v4.100.0.rc1.r321.gcce381b
+pkgrel=1
pkgdesc='Utilities for interacting with KCModules'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/frameworks/kcmutils'
@@ -16,8 +16,8 @@ source=('git://anongit.kde.org/kcmutils.git')
md5sums=('SKIP')
pkgver() {
- cd kcmutils
- 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() {