diff options
author | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2018-09-07 08:03:03 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2018-09-07 09:23:52 -0500 |
commit | b40319ad5c57d4c6ff81ed3e0adacb08ef62a620 (patch) | |
tree | 4c843709811199f856d317c8c413345093fcaa57 /user/json-glib | |
parent | 3d1efe895ea74ec2a9e23726c36eafae8827731d (diff) | |
download | packages-b40319ad5c57d4c6ff81ed3e0adacb08ef62a620.tar.gz packages-b40319ad5c57d4c6ff81ed3e0adacb08ef62a620.tar.bz2 packages-b40319ad5c57d4c6ff81ed3e0adacb08ef62a620.tar.xz packages-b40319ad5c57d4c6ff81ed3e0adacb08ef62a620.zip |
user/json-glib: new package
Diffstat (limited to 'user/json-glib')
-rw-r--r-- | user/json-glib/APKBUILD | 32 |
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" |