[arch-commits] Commit in json-c/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Thu Apr 14 22:26:07 UTC 2022
Date: Thursday, April 14, 2022 @ 22:26:07
Author: heftig
Revision: 442615
0.16-1
Modified:
json-c/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-14 22:22:00 UTC (rev 442614)
+++ PKGBUILD 2022-04-14 22:26:07 UTC (rev 442615)
@@ -3,8 +3,8 @@
# Contributor: congyiwu <congyiwu AT gmail DOT com>
pkgname=json-c
-pkgver=0.15
-pkgrel=3
+pkgver=0.16
+pkgrel=1
pkgdesc="A JSON implementation in C"
url="https://github.com/json-c/json-c/wiki"
license=(MIT)
@@ -13,7 +13,7 @@
makedepends=(git cmake ninja)
provides=(libjson-c.so)
options=(debug)
-_commit=9021cdcdd01fc9dbcbe1f06391848c2ac915212f # tags/json-c-0.15-20200726^0
+_commit=2f2ddc1f2dbca56c874e8f9c31b5b963202d80e7 # tags/json-c-0.16-20220414^0
source=("git+https://github.com/json-c/json-c#commit=$_commit")
sha256sums=('SKIP')
@@ -21,7 +21,7 @@
cd json-c
local tag="$(git describe --tags --abbrev=0)"
local ver="$(git describe --tags)"
- echo "${tag%-*}${ver#$tag}" | sed 's/^json-c-//;s/-/+/g'
+ echo "${tag%-*}${ver#$tag}" | sed 's/^json-c-//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
More information about the arch-commits
mailing list