summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Albers2020-03-12 01:11:22 +0100
committerDaniel Albers2020-03-12 01:11:22 +0100
commitc04c1fce713ffa35a1e0cd7112fa5ac5b2034ed2 (patch)
treee03ce559d82240d6d89a1c8c7bfe4f5a63f04fb0 /PKGBUILD
parent8b2885e7e9824e718bc693970cb62c005828f53b (diff)
downloadaur-c04c1fce713ffa35a1e0cd7112fa5ac5b2034ed2.tar.gz
Use tag based versioning
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a9cb0673e22..941798aaf7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeclarative-git
-pkgver=r313.d27b914
-pkgrel=3
+pkgver=v4.100.0.rc1.r568.g0dad857
+pkgrel=1
pkgdesc='KDeclarative'
arch=(i686 x86_64)
url='https://projects.kde.org/projects/frameworks/kdeclarative'
@@ -15,8 +15,8 @@ source=('git://anongit.kde.org/kdeclarative.git')
md5sums=('SKIP')
pkgver() {
- cd kdeclarative
- 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() {