summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Albers2020-03-12 01:23:43 +0100
committerDaniel Albers2020-03-12 01:23:43 +0100
commit899761512229414d02a1bd611e217671754d9e9d (patch)
treebea465b3ff9f807d973608c0fffc9d1568c5c47b
parent53169ac8cbcec6382f7b8eef3946e1757f785a81 (diff)
downloadaur-899761512229414d02a1bd611e217671754d9e9d.tar.gz
Use tag based versioning
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 89c0286db54d..b3d536a61314 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Sun Jun 12 13:15:49 UTC 2016
pkgbase = kio-git
pkgdesc = Resource and network access abstraction
- pkgver = r1598.8b43a9e
+ pkgver = v4.100.0.rc1.r2525.g4b4ed81c
pkgrel = 1
url = https://projects.kde.org/projects/frameworks/kio
arch = i686
@@ -21,7 +19,7 @@ pkgbase = kio-git
depends = desktop-file-utils
provides = kio
conflicts = kio
- source = git://anongit.kde.org/kio.git
+ source = git+https://anongit.kde.org/kio.git
md5sums = SKIP
pkgname = kio-git
diff --git a/PKGBUILD b/PKGBUILD
index 264ffa40c326..440178dcc5bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=kio-git
-pkgver=r1598.8b43a9e
+pkgver=v4.100.0.rc1.r2525.g4b4ed81c
pkgrel=1
pkgdesc='Resource and network access abstraction'
arch=('i686' 'x86_64')
@@ -17,8 +17,8 @@ source=('git+https://anongit.kde.org/kio.git')
md5sums=('SKIP')
pkgver() {
- cd kio
- 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() {