void-packages/srcpkgs/json-glib/template
2019-04-28 01:45:46 +02:00

30 lines
886 B
Bash

# Template file for 'json-glib'
pkgname=json-glib
version=1.4.4
revision=3
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="pkg-config glib-devel"
makedepends="libglib-devel"
short_desc="JSON parser for GLib-based libraries and applications"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="http://live.gnome.org/JsonGlib"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=720c5f4379513dc11fd97dc75336eb0c0d3338c53128044d9fabec4374f4bc47
# 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"
}
}