aboutsummaryrefslogtreecommitdiffstats
path: root/main/json-glib/APKBUILD
blob: 9af4b8739be7804d660963df4c4a546d81d8aef4 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=json-glib
pkgver=0.12.4
pkgrel=0
pkgdesc="JSON library built on GLib"
arch="all"
url="http://live.gnome.org/JsonGlib"
license="GPL"
depends=""
makedepends="gobject-introspection glib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.12/json-glib-$pkgver.tar.bz2"

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="347e1714e4a2ce54298969d5ffec7dca  json-glib-0.12.4.tar.bz2"