summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 935c0f3c15df..030320dc8773 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,11 @@
pkgname=valijson-git
pkgdesc='Header-only C++ library for JSON Schema validation (git version)'
-pkgver=1.0.2
+pkgver=1.0.2.r8.g27f7e75
pkgrel=1
arch=(any)
url="https://github.com/tristanpenman/valijson"
-license=(BSD 2)
+license=(BSD-2-Clause)
conflicts=(valijson)
provides=(valijson)
makedepends=(git make cmake ninja)
@@ -14,7 +14,6 @@ source=('git+https://github.com/tristanpenman/valijson.git')
pkgver(){
cd "${srcdir}"/valijson
- # cutting off 'foo-' prefix that presents in the git tag
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}