Date: Saturday, May 24, 2014 @ 08:08:51 Author: anatolik Revision: 213536
archrelease: copy trunk to testing-i686, testing-x86_64 Added: json-c/repos/testing-i686/ json-c/repos/testing-i686/PKGBUILD (from rev 213535, json-c/trunk/PKGBUILD) json-c/repos/testing-x86_64/ json-c/repos/testing-x86_64/PKGBUILD (from rev 213535, json-c/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) Copied: json-c/repos/testing-i686/PKGBUILD (from rev 213535, json-c/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-05-24 06:08:51 UTC (rev 213536) @@ -0,0 +1,33 @@ +# $Id$ +# 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.12 +pkgrel=1 +pkgdesc="A JSON implementation in C" +url="https://github.com/json-c/json-c/wiki" +license=(MIT) +arch=(i686 x86_64) +depends=(glibc) +source=(https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz) +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 + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} Copied: json-c/repos/testing-x86_64/PKGBUILD (from rev 213535, json-c/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-05-24 06:08:51 UTC (rev 213536) @@ -0,0 +1,33 @@ +# $Id$ +# 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.12 +pkgrel=1 +pkgdesc="A JSON implementation in C" +url="https://github.com/json-c/json-c/wiki" +license=(MIT) +arch=(i686 x86_64) +depends=(glibc) +source=(https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz) +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 + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +}