summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Albers2020-06-03 16:58:13 +0200
committerDaniel Albers2020-06-03 16:58:13 +0200
commit6ad49fd6d342cf23f7e1c79bce2645251781011a (patch)
tree8a85b7d11dcd9f454cb636498c82caa418fc8949
parent4b8ea005d119174a7b5a9a9c9a7841572b13c84a (diff)
downloadaur-6ad49fd6d342cf23f7e1c79bce2645251781011a.tar.gz
Use tag based versioning again
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7d09b2eb3537..7ac7263f97c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kdecoration-git
pkgdesc = Plugin based library to create window decorations (Git)
- pkgver = r232.0539093
+ pkgver = v5.18.90.r12.g0539093
pkgrel = 1
url = https://www.kde.org/workspaces/plasmadesktop/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index a26d53145d6f..67697293f75e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=kdecoration
pkgname=$_pkgname-git
-pkgver=r232.0539093
+pkgver=v5.18.90.r12.g0539093
pkgrel=1
pkgdesc='Plugin based library to create window decorations (Git)'
arch=(i686 x86_64)
@@ -20,7 +20,7 @@ sha256sums=('SKIP')
pkgver() {
cd $srcdir/$_pkgname
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {