summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchdevlab2024-02-08 23:01:42 -0500
committerarchdevlab2024-02-08 23:01:42 -0500
commit9c938f1110e9707a3f2f80e688290b8d87991db9 (patch)
tree39fb1c80883396dc86e2d9601f553dcbf60966d5
parent6ecf9349c4d8ed42896968549d077f7ae3f0aab2 (diff)
downloadaur-9c938f1110e9707a3f2f80e688290b8d87991db9.tar.gz
update
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fcea7af6c2da..69e7b814e7a5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
pkgbase = 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
url = https://github.com/tristanpenman/valijson
arch = any
- license = BSD
- license = 2
+ license = BSD-2-Clause
makedepends = git
makedepends = make
makedepends = cmake
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'
}