From 0791ff3d937e589964ce5827daf47bd18882f42a Mon Sep 17 00:00:00 2001 From: AlmAck Date: Tue, 17 Nov 2015 22:25:13 +0100 Subject: [PATCH] rebuild json-c --- json-c/PKGBUILD | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/json-c/PKGBUILD b/json-c/PKGBUILD index 19247124e..51ad25266 100644 --- a/json-c/PKGBUILD +++ b/json-c/PKGBUILD @@ -1,7 +1,7 @@ pkgname=json-c pkgver=0.12 -pkgrel=1 -pkgdesc="JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects." +pkgrel=2 +url="https://github.com/json-c/json-c/wiki" arch=('x86_64') url="https://github.com/json-c/json-c/wiki" license=('MIT') @@ -16,8 +16,13 @@ build() { make } -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +check() { + cd $pkgname-$pkgver + make check } + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} \ No newline at end of file