# $Id: PKGBUILD 198118 2013-10-30 12:53:54Z allan $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Geoffroy Carrier # Contributor: congyiwu pkgname=json-c pkgver=0.11 pkgrel=1 pkgdesc="A JSON implementation in C" url="https://github.com/json-c/json-c/wiki" license=(MIT) arch=('i686' 'x86_64' 'mips64el') depends=(glibc) options=(!makeflags) source=(https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz) sha256sums=('28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --disable-static make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }