44 lines
1.0 KiB
Bash
44 lines
1.0 KiB
Bash
# Template file for 'libjcat'
|
|
pkgname=libjcat
|
|
version=0.1.14
|
|
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=e754051419d9955cfa4dcf4503aa86105c45bcbb5e95222a938ba95cc8f0569b
|
|
|
|
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-*"
|
|
}
|
|
}
|