33 lines
902 B
Bash
33 lines
902 B
Bash
# Template file for 'libjcat'
|
|
pkgname=libjcat
|
|
version=0.1.2
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
hostmakedepends="gnutls-tools pkg-config vala"
|
|
makedepends="json-glib-devel gnutls-devel gpgme-devel"
|
|
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=b80a31a872d5612fa98ac0cfe483e4d33f5b02777427864ff5305bfd33a11aa0
|
|
|
|
if [ -n "$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-*"
|
|
}
|
|
}
|