summaryrefslogtreecommitdiff
path: root/extra/json-glib/PKGBUILD
blob: 649a47d70285983ef0095eac70a89a40f83b00ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 169945 2012-10-30 22:46:18Z heftig $
# 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' 'mips64el')
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
}