summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Albers2020-03-12 01:32:27 +0100
committerDaniel Albers2020-03-12 01:32:27 +0100
commit310de91c42e31eb0758794319f03770b5e606381 (patch)
treee57defd536bb4951ffddbce2c6a77179e2fbb8da
parenta1b8349fd8749664624e84b64f6172d099b96692 (diff)
downloadaur-310de91c42e31eb0758794319f03770b5e606381.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 46846bc1808..4811e746c9e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Fri Jun 24 01:31:19 UTC 2016
pkgbase = kwindowsystem-git
pkgdesc = KWindowSystem
- pkgver = r136.487f03a
- pkgrel = 2
+ pkgver = v4.100.0.rc1.r395.g0e2b1dd
+ pkgrel = 1
url = https://projects.kde.org/projects/frameworks/kwindowsystem
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 277022bebe9..639216537fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kwindowsystem-git
-pkgver=r136.487f03a
-pkgrel=2
+pkgver=v4.100.0.rc1.r395.g0e2b1dd
+pkgrel=1
pkgdesc='KWindowSystem'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/frameworks/kwindowsystem'
@@ -16,8 +16,8 @@ source=('git://anongit.kde.org/kwindowsystem.git')
md5sums=('SKIP')
pkgver() {
- cd kwindowsystem
- 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() {