[arch-commits] Commit in lib32-json-c/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Thu Apr 14 22:26:03 UTC 2022
Date: Thursday, April 14, 2022 @ 22:26:03
Author: heftig
Revision: 1186341
0.16-1
Modified:
lib32-json-c/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-14 22:21:57 UTC (rev 1186340)
+++ PKGBUILD 2022-04-14 22:26:03 UTC (rev 1186341)
@@ -1,8 +1,10 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributor: congyiwu <congyiwu AT gmail DOT com>
pkgname=lib32-json-c
-pkgver=0.15
-pkgrel=2
+pkgver=0.16
+pkgrel=1
pkgdesc="A JSON implementation in C (32-bit)"
url="https://github.com/json-c/json-c/wiki"
license=(MIT)
@@ -10,7 +12,8 @@
depends=(lib32-glibc json-c)
makedepends=(git cmake ninja)
provides=(libjson-c.so)
-_commit=9021cdcdd01fc9dbcbe1f06391848c2ac915212f # tags/json-c-0.15-20200726^0
+options=(debug)
+_commit=2f2ddc1f2dbca56c874e8f9c31b5b963202d80e7 # tags/json-c-0.16-20220414^0
source=("git+https://github.com/json-c/json-c#commit=$_commit")
sha256sums=('SKIP')
@@ -18,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