# Template file for 'libcacard' pkgname=libcacard version=2.8.0 revision=1 build_style=meson # test/meson.build gives unknown softhsm variable configure_args="-Ddisable_tests=true" hostmakedepends="pkg-config" makedepends="nss-devel libglib-devel pcsclite-devel" short_desc="Library to provide emulation of smart cards to a virtual card reader" maintainer="Orphaned " license="LGPL-2.1-or-later" homepage="https://cgit.freedesktop.org/spice/libcacard/" distfiles="https://www.spice-space.org/download/libcacard/libcacard-${version}.tar.xz" checksum=8005b93c3139ff739057efb19f9dac1d0993ffb0b913111505af6a91711ef22b replaces="libcacard-tools>=0" libcacard-devel_package() { depends="nss-devel libglib-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" } }