void-packages/srcpkgs/json-glib/template
Đoàn Trần Công Danh 20044523bd json-glib: update to 1.6.0.
2020-11-09 20:26:10 +07:00

30 lines
889 B
Bash

# Template file for 'json-glib'
pkgname=json-glib
version=1.6.0
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)"
hostmakedepends="pkg-config glib-devel"
makedepends="libglib-devel"
short_desc="JSON parser for GLib-based libraries and applications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://live.gnome.org/JsonGlib"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0d7c67602c4161ea7070fab6c5823afd9bd7f7bc955f652a50d3753b08494e73
# Package build options
build_options="gir"
build_options_default="gir"
json-glib-devel_package() {
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}