void-packages/srcpkgs/libjcat/template

44 lines
1.0 KiB
Bash

# Template file for 'libjcat'
pkgname=libjcat
version=0.2.1
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=f623815ac855471277dc9d1b3b5ada1a9aaad6da67659c751dc3dec899dc2658
jcat-tool_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}
jcat-tests_package() {
short_desc+=" - self-tests"
pkg_install() {
vmove usr/libexec/installed-tests
vmove usr/share/installed-tests
}
}
libjcat-devel_package() {
depends="${makedepends} jcat-tool"
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-*"
}
}