summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Albers2020-03-12 01:09:10 +0100
committerDaniel Albers2020-03-12 01:09:10 +0100
commit016fb395114773dd8aad9300434e8cdfc38f891e (patch)
treee1d9cdce733471378edf41b81aba1181d3ac61ef
parent32326459bb20b4f0b5a08342db285df86ee3fd69 (diff)
downloadaur-016fb395114773dd8aad9300434e8cdfc38f891e.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 a8e45a2e6f7..ef3032a2493 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Fri Jun 24 01:31:09 UTC 2016
pkgbase = kcrash-git
pkgdesc = KCrash
- pkgver = r73.36b7c1f
- pkgrel = 2
+ pkgver = v5.68.0.rc1.r0.g4035afe
+ pkgrel = 1
url = https://projects.kde.org/projects/frameworks/kcrash
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 307fef7c969..cf1ebd82bf1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kcrash-git
-pkgver=r73.36b7c1f
-pkgrel=2
+pkgver=v5.68.0.rc1.r0.g4035afe
+pkgrel=1
pkgdesc='KCrash'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/frameworks/kcrash'
@@ -16,8 +16,8 @@ source=('git://anongit.kde.org/kcrash.git')
md5sums=('SKIP')
pkgver() {
- cd kcrash
- 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() {