summaryrefslogblamecommitdiff
path: root/user/json-glib/APKBUILD
blob: 015b7b6e7f1aff82d043f6d69bf46649bfb83ebe (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
                 
            



                                                          
                                  
                   
          

                                                            
                                                                                           

         










                                         


                                                 
                                                                                                                                                                     
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=json-glib
pkgver=1.6.2
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="8412390a639d368ed11181621739f43bc4900143ac062c3824c7140abec58ca2b09773a415034f03896a4ff63aa3414b492997da532848709238a83c3a068b11  json-glib-1.6.2.tar.xz"