[arch-commits] Commit in lib32-jansson/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sat Jun 13 09:03:15 UTC 2020
Date: Saturday, June 13, 2020 @ 09:03:15
Author: alucryd
Revision: 642846
upgpkg: lib32-jansson 2.13.1-1
Modified:
lib32-jansson/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-13 08:51:09 UTC (rev 642845)
+++ PKGBUILD 2020-06-13 09:03:15 UTC (rev 642846)
@@ -4,11 +4,11 @@
# Contributor: Dave Reisner <d at falconindy.com>
pkgname=lib32-jansson
-pkgver=2.12
+pkgver=2.13.1
pkgrel=1
pkgdesc='C library for encoding, decoding and manipulating JSON data'
arch=(x86_64)
-url='http://www.digip.org/jansson/'
+url=http://www.digip.org/jansson/
license=(MIT)
depends=(
jansson
@@ -15,9 +15,16 @@
lib32-glibc
)
makedepends=(git)
-source=(git+https://github.com/akheron/jansson.git#tag=v${pkgver})
+_tag=e9ebfa7e77a6bee77df44e096b100e7131044059
+source=(git+https://github.com/akheron/jansson.git#tag=${_tag})
sha256sums=(SKIP)
+pkgver() {
+ cd jansson
+
+ git describe --tags | sed 's/^v//'
+}
+
prepare() {
cd jansson
@@ -31,8 +38,8 @@
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32'
+ --prefix=/usr \
+ --libdir=/usr/lib32
make
}
@@ -44,4 +51,4 @@
ln -s jansson "${pkgdir}"/usr/share/licenses/lib32-jansson
}
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list