summaryrefslogblamecommitdiff
path: root/user/json-glib/APKBUILD
blob: b686fef6b337cfa2ef763e72b54edfae85e4175b (plain) (tree)































                                                                                                                                                                     
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=json-glib
pkgver=1.4.2
pkgrel=0
pkgdesc="GObject-based library for JSON (de)serialization"
url="https://live.gnome.org/JsonGlib"
arch="all"
options="!check" # no tests
license="LGPL-2.1+"
makedepends="glib-dev gobject-introspection-dev meson ninja"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/json-glib/1.4/json-glib-$pkgver.tar.xz"

build() {
	cd "$builddir"
        meson \
                --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/share/man \
                --localstatedir=/var \
                --buildtype=release \
                . output
        ninja -C output
}

package() {
	cd "$builddir"
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="e1495c4d0167db4cc31c7d9a6059de1f9126ab48fb45666a1bd10c69e10df9db195160cfba35cfac9c438a868559068e39402adf98a3e416d425c095c0946a51  json-glib-1.4.2.tar.xz"