New package: libjcat-0.1.2

This commit is contained in:
marmeladema 2020-05-01 21:25:32 +01:00 committed by Enno Boland
parent 5ef39ddbe7
commit 5661fa1935
3 changed files with 34 additions and 1 deletions

View File

@ -3874,4 +3874,4 @@ libhidrd_item.so.0
libhidrd_opt.so.0 hidrd-0.2.0_1
libhidrd_strm.so.0 hidrd-0.2.0_1
libhidrd_fmt.so.0 hidrd-0.2.0_1
libjcat.so.1 libjcat-0.1.2_1

1
srcpkgs/libjcat-devel Symbolic link
View File

@ -0,0 +1 @@
libjcat

32
srcpkgs/libjcat/template Normal file
View File

@ -0,0 +1,32 @@
# 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-*"
}
}