void-packages/srcpkgs/belcard/template

25 lines
768 B
Bash

# Template file for 'belcard'
pkgname=belcard
version=5.2.6
revision=1
build_style=cmake
configure_args="-DENABLE_STATIC=FALSE -DENABLE_UNIT_TESTS=FALSE"
makedepends="bctoolbox-devel belr-devel"
short_desc="C++ library to manipulate VCard standard format"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://linphone.org"
distfiles="https://gitlab.linphone.org/BC/public/belcard/-/archive/${version}/belcard-${version}.tar.gz"
checksum=36a6a03493349ead775b7dfb4ed3435abf2eb0b92ff145c2cd2107f6ca51821d
belcard-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} belr-devel"
pkg_install() {
vmove usr/bin
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/share/belcard/cmake
}
}