summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8720853ef53a..ed2a260ec949 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = range-v3-git
pkgdesc = Eric Niebler' C++ ranges library.
- pkgver = r1208.623e87d5
- pkgrel = 3
+ pkgver = 0.3.0.r5.gfc333d91
+ pkgrel = 1
url = https://github.com/ericniebler/range-v3
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index fcb9259f27af..28519805ccfa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Theodoros Theodoridis <theodoridisgr@gmail.com>
pkgname=range-v3-git
-pkgver=r1208.623e87d5
-pkgrel=3
+pkgver=0.3.0.r5.gfc333d91
+pkgrel=1
pkgdesc="Eric Niebler' C++ ranges library."
arch=('any')
url='https://github.com/ericniebler/range-v3'
@@ -13,7 +13,7 @@ md5sums=('SKIP')
pkgver() {
cd range-v3
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {