void-packages/srcpkgs/libjcat/template
2021-01-05 22:22:27 +01:00

33 lines
920 B
Bash

# Template file for 'libjcat'
pkgname=libjcat
version=0.1.4
revision=1
build_style=meson
build_helper="gir"
hostmakedepends="gnutls-tools pkg-config vala"
makedepends="json-glib-devel gnutls-devel gpgme-devel"
checkdepends="gnupg"
short_desc="Library for reading and writing Jcat files"
maintainer="marmeladema <xademax@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/hughsie/libjcat"
distfiles="https://github.com/hughsie/libjcat/archive/${version}.tar.gz"
checksum=d2f9d554b9d91abc59ff5e10d79801d30e3efcfcb27cd4cee9688381f51a3832
if [ "$XBPS_CROSS_BUILD" ]; then
configure_args="-Dman=false"
else
hostmakedepends+=" help2man"
fi
libjcat-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/vala
vmove "usr/share/gir-*"
}
}