summaryrefslogtreecommitdiff
path: root/testing/json-glib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/json-glib/PKGBUILD')
-rw-r--r--testing/json-glib/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/json-glib/PKGBUILD b/testing/json-glib/PKGBUILD
new file mode 100644
index 000000000..b1229d31d
--- /dev/null
+++ b/testing/json-glib/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 169184 2012-10-18 19:24:00Z jgc $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=json-glib
+pkgver=0.15.2
+pkgrel=1
+pkgdesc="JSON library built on GLib"
+arch=('i686' 'x86_64')
+url="http://live.gnome.org/JsonGlib"
+license=('GPL')
+depends=('glib2')
+makedepends=('gobject-introspection')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.15/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('f090cd94acc85989e033d72028fa70863d05092ae5bba6b454e70c132b24cdde')
+
+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
+}