summaryrefslogtreecommitdiff
path: root/extra/json-glib/PKGBUILD
blob: 44f9958a81542ca5341a7ddb553d25afa1c29617 (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
# $Id: PKGBUILD 210508 2014-04-14 20:07:10Z jgc $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=json-glib
pkgver=1.0.0
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')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('dbf558d2da989ab84a27e4e13daa51ceaa97eb959c2c2f80976c9322a8f4cdde')

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
}