summaryrefslogtreecommitdiff
path: root/extra/json-glib/PKGBUILD
blob: 5cf085ce0ef1ef7e913cddd80ed9372729a33167 (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
# $Id: PKGBUILD 127506 2011-06-15 15:19:08Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=json-glib
pkgver=0.12.6
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.12/${pkgname}-${pkgver}.tar.xz)
sha256sums=('4f670fc356e7a30121ade956e93236986952bb2601d6678e94eab7d87c8866ce')

build(){
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package(){
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}