# $Id: PKGBUILD 198119 2013-10-30 12:54:14Z allan $ # Maintainer: Ionut Biru pkgname=json-glib pkgver=0.16.2 pkgrel=1 pkgdesc="JSON library built on GLib" arch=('i686' 'x86_64' 'mips64el') url="http://live.gnome.org/JsonGlib" license=('GPL') depends=('glib2') makedepends=('gobject-introspection') source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver::4}/${pkgname}-${pkgver}.tar.xz) sha256sums=('a95475364ec27ab1d2a69303cf579018558bfb6981e3498b3aaf1e6401f7422c') build(){ cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr make } package(){ cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install } check(){ cd "${srcdir}/${pkgname}-${pkgver}" make check }