void-packages/srcpkgs/json-glib/template
skmpz ec82afebba json-glib: update to 1.6.2.
Closes: #30144 [via git-merge-pr]
2021-04-11 21:11:47 -04:00

30 lines
889 B
Bash

# Template file for 'json-glib'
pkgname=json-glib
version=1.6.2
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="skmpz <dem.procopiou@gmail.com>"
license="LGPL-2.1-or-later"
homepage="http://live.gnome.org/JsonGlib"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=a33d66c6d038bda46b910c6c6d59c4e15db014e363dc997a0414c2e07d134f24
# 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"
}
}