blob: 9eb040bee289de4c3c0843bfec3bd5d9b81c97ae (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=json-glib
pkgver=0.14.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"
source="http://ftp.gnome.org/pub/GNOME/sources/json-glib/${pkgver%.*}/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
rm "$pkgdir"/usr/lib/*.la
}
md5sums="6ba14cc2cc9582250451ff645c20a779 json-glib-0.14.0.tar.bz2"
|