Date: Saturday, May 24, 2014 @ 08:08:13 Author: anatolik Revision: 213535
upgpkg: json-c 0.12-1 Modified: json-c/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-05-24 02:19:06 UTC (rev 213534) +++ PKGBUILD 2014-05-24 06:08:13 UTC (rev 213535) @@ -2,8 +2,9 @@ # Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> # Contributor: Geoffroy Carrier <geoffroy.carr...@koon.fr> # Contributor: congyiwu <congyiwu AT gmail DOT com> + pkgname=json-c -pkgver=0.11 +pkgver=0.12 pkgrel=1 pkgdesc="A JSON implementation in C" url="https://github.com/json-c/json-c/wiki" @@ -10,16 +11,21 @@ license=(MIT) arch=(i686 x86_64) depends=(glibc) -options=(!makeflags) source=(https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz) -sha256sums=('28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c') +sha256sums=('000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f') build() { cd $pkgname-$pkgver + CFLAGS="$CFLAGS -Wno-error" ./configure --prefix=/usr --disable-static make } +check() { + cd $pkgname-$pkgver + make check +} + package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install