summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/json-glib/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/json-glib/APKBUILD b/user/json-glib/APKBUILD
new file mode 100644
index 000000000..b686fef6b
--- /dev/null
+++ b/user/json-glib/APKBUILD
@@ -0,0 +1,32 @@
+# 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"