summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Albers2020-03-13 23:11:00 +0100
committerDaniel Albers2020-03-13 23:11:00 +0100
commitbfb9a0d279fd519c14b18f72fad64d529a42d7f7 (patch)
tree31f1ab159f4128d055b6a6b464afdb959a119c9d
parent2491de6f3052e5ac480378592a389f5f121e95a1 (diff)
downloadaur-bfb9a0d279fd519c14b18f72fad64d529a42d7f7.tar.gz
Use tag based versioning
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9530ef9d7be1..ee440651faba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kscreenlocker-git
pkgdesc = Library and components for secure lock screen architecture
- pkgver = r764.dee0f32
+ pkgver = v5.17.90.r14.g98da04c
pkgrel = 1
url = https://projects.kde.org/kscreenlocker
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 90841932c475..c9adca5f2de5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kscreenlocker-git
-pkgver=r764.dee0f32
+pkgver=v5.17.90.r14.g98da04c
pkgrel=1
pkgdesc='Library and components for secure lock screen architecture'
arch=(i686 x86_64)
@@ -15,8 +15,8 @@ source=('git://anongit.kde.org/kscreenlocker.git')
md5sums=('SKIP')
pkgver() {
- cd kscreenlocker
- 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() {