Date: Friday, June 7, 2013 @ 19:06:34 Author: heftig Revision: 92524 0.11
Modified: lib32-json-c/trunk/PKGBUILD ----------+ PKGBUILD | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-06-07 16:54:42 UTC (rev 92523) +++ PKGBUILD 2013-06-07 17:06:34 UTC (rev 92524) @@ -2,33 +2,26 @@ # Maintainer: Jan Alexander Steffens (heftig) <[email protected]> # Contributor: Geoffroy Carrier <[email protected]> # Contributor: congyiwu <congyiwu AT gmail DOT com> - _pkgbasename=json-c pkgname=lib32-$_pkgbasename -pkgver=0.10 -pkgrel=2 +pkgver=0.11 +pkgrel=1 pkgdesc="A JSON implementation in C (32-bit)" url="https://github.com/json-c/json-c/wiki" -license=("MIT") -arch=('x86_64') -depends=('lib32-glibc' $_pkgbasename) -makedepends=('gcc-multilib' 'libtool-multilib') -source=(https://github.com/downloads/$_pkgbasename/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz) -md5sums=('a4edc79410eb894f08d7d52ca9f88732') -options=(!libtool) +license=(MIT) +arch=(x86_64) +depends=(lib32-glibc $_pkgbasename) +makedepends=(gcc-multilib libtool-multilib) +options=(!libtool !makeflags) +source=(https://s3.amazonaws.com/${_pkgbasename}_releases/releases/$_pkgbasename-${pkgver}.tar.gz) +sha256sums=('28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c') + build() { cd $_pkgbasename-$pkgver export CC="gcc -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - ## from http://pkgs.fedoraproject.org/cgit/json-c.git/tree/json-c.spec - # Hack to get json_object_iterator.c compiled - sed -e 's/json_object.c/json_object.c json_object_iterator.c/' \ - -e 's/json_object.h/json_object.h json_object_iterator.h/' \ - -e 's/json_object.lo/json_object.lo json_object_iterator.lo/' \ - -i Makefile.in - ./configure --prefix=/usr --disable-static --libdir=/usr/lib32 make }
