summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTheodoros Theodoridis2017-07-10 13:50:58 +0200
committerTheodoros Theodoridis2017-07-10 13:50:58 +0200
commit1c78accaec849f114fb8dd7aff6dd02fbea3aa8f (patch)
treed24ecdb763f29bd58d4127079b60524af3457e50 /PKGBUILD
parent5f71db3f0dcf9f1cab424be62f4ac0cc6c53fa78 (diff)
downloadaur-1c78accaec849f114fb8dd7aff6dd02fbea3aa8f.tar.gz
Use semantic versioning (as per verri's suggestion)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fcb9259f27a..28519805ccf 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() {