From b40319ad5c57d4c6ff81ed3e0adacb08ef62a620 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 7 Sep 2018 08:03:03 -0500 Subject: user/json-glib: new package --- user/json-glib/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/json-glib/APKBUILD 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 +# Maintainer: Kiyoshi Aman +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" -- cgit v1.2.3-70-g09d2