summaryrefslogtreecommitdiff
path: root/extra/json-c
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-28 03:31:41 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-28 03:31:41 +0000
commitfc3a052d9f439abcf0ce424b7d45b682a5377087 (patch)
treee30cf804e2126c73de97abfb7a4819dd8aa092f8 /extra/json-c
parent266ddb4aa9aed9a6a66b5eb9e17da710e66c4987 (diff)
Wed May 28 03:24:53 UTC 2014
Diffstat (limited to 'extra/json-c')
-rw-r--r--extra/json-c/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/extra/json-c/PKGBUILD b/extra/json-c/PKGBUILD
index 7c6a8139d..17ba78d3e 100644
--- a/extra/json-c/PKGBUILD
+++ b/extra/json-c/PKGBUILD
@@ -1,25 +1,31 @@
-# $Id: PKGBUILD 198118 2013-10-30 12:53:54Z allan $
+# $Id: PKGBUILD 213660 2014-05-27 18:32:28Z anatolik $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: congyiwu <congyiwu AT gmail DOT com>
+
pkgname=json-c
-pkgver=0.11
-pkgrel=1
+pkgver=0.12
+pkgrel=2
pkgdesc="A JSON implementation in C"
url="https://github.com/json-c/json-c/wiki"
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