pkgname=json-glib pkgver=1.0.4 pkgrel=1 pkgdesc="JSON library built on GLib" arch=('x86_64') url="http://live.gnome.org/JsonGlib" license=('GPL') depends=('glib2') makedepends=('gobject-introspection' 'python2') options=('!libtool') source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz) sha256sums=('80f3593cb6bd13f1465828e46a9f740e2e9bd3cd2257889442b3e62bd6de05cd') 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 }