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

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="bbca11f32509d6eb3f54d24156e7312d  json-glib-0.16.0.tar.xz"
sha256sums="e4a3fd2f399e4c148aad608e6ed0a94095f2ddde9dd12f5aa2f072ecae5c1d37  json-glib-0.16.0.tar.xz"
sha512sums="4e58b568a875087755622b6976bcfdcf5e029d1bff4ac0e187887f56223a2bdf1a288a1d1355d265a5d82f5306e2f6ef98b910e4002551a1fe770a79efb4270c  json-glib-0.16.0.tar.xz"