summaryrefslogtreecommitdiff
path: root/user/json-glib/APKBUILD
blob: 893a192d2507bfb72678c3f15bacb9780983bc38 (plain) (blame)
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
31
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=json-glib
pkgver=1.6.6
pkgrel=0
pkgdesc="GObject-based library for JSON (de)serialization"
url="https://live.gnome.org/JsonGlib"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1+"
depends=""
makedepends="glib-dev gobject-introspection-dev meson ninja"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/json-glib/${pkgver%.*}/json-glib-$pkgver.tar.xz"

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

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

sha512sums="b9a737e4ba3ecdfb9cb8f5fb751cc74e5b1553664d3088c44a1f9e5396d4037958af214dcd290ddf5af98088f46167e10e371e134e1de5cbb7aec84c5c0fd017  json-glib-1.6.6.tar.xz"