diff options
author | Daniel Albers | 2020-03-12 01:23:43 +0100 |
---|---|---|
committer | Daniel Albers | 2020-03-12 01:23:43 +0100 |
commit | 899761512229414d02a1bd611e217671754d9e9d (patch) | |
tree | bea465b3ff9f807d973608c0fffc9d1568c5c47b | |
parent | 53169ac8cbcec6382f7b8eef3946e1757f785a81 (diff) | |
download | aur-899761512229414d02a1bd611e217671754d9e9d.tar.gz |
Use tag based versioning
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 7 deletions
@@ -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 @@ -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() { |