summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Albers2020-03-12 01:10:17 +0100
committerDaniel Albers2020-03-12 01:10:17 +0100
commit73181f0834ea9c0dcfe24512e6fb0c89680ccb83 (patch)
tree273b79533145cd1cdf4da6fc275544978bc6987e
parent7a08ebed5694aac997910f81894f217a2a05e861 (diff)
downloadaur-73181f0834ea9c0dcfe24512e6fb0c89680ccb83.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 5013c512d25f..eefd9127cda3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Fri Jun 24 01:31:23 UTC 2016
pkgbase = kdbusaddons-git
pkgdesc = Addons to QtDBus
- pkgver = r90.e9c8580
- pkgrel = 2
+ pkgver = v4.100.0.rc1.r233.gde0c9db
+ pkgrel = 1
url = https://projects.kde.org/projects/frameworks/kdbusaddons
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index d8e4a6223b56..c19b0d50b903 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdbusaddons-git
-pkgver=r90.e9c8580
-pkgrel=2
+pkgver=v4.100.0.rc1.r233.gde0c9db
+pkgrel=1
pkgdesc='Addons to QtDBus'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/frameworks/kdbusaddons'
@@ -17,8 +17,8 @@ source=('git://anongit.kde.org/kdbusaddons.git')
md5sums=('SKIP')
pkgver() {
- cd kdbusaddons
- 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() {