# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=belcard pkgver=4.3.0 pkgrel=0 pkgdesc="C++ library to manipulate VCard standard format" url="https://linphone.org" arch="all" license="GPL-3.0-or-later" options="!check" # not test available makedepends="cmake bctoolbox-dev belr-dev" subpackages="$pkgname-dev" source="https://www.linphone.org/releases/sources/belcard/belcard-$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/belcard/archive/$pkgver.tar.gz" build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_MODULE_PATH=/usr/lib/cmake \ -DCMAKE_INSTALL_DATADIR=lib \ -DENABLE_STRICT=NO \ -DENABLE_SHARED=YES \ -DENABLE_STATIC=NO \ -DENABLE_UNIT_TESTS=NO \ . make } package() { make DESTDIR="$pkgdir" install } dev() { default_dev mkdir -p "$subpkgdir"/usr/lib/cmake/belcard mv "$pkgdir"/usr/share/belcard/cmake/* "$subpkgdir"/usr/lib/cmake/belcard } sha512sums="d97f2912622d8713bc21e8b93252b6bcbf520afa91d17d8db78a981de1c19cb1818f3e6413b3da0bb3fc6a45fc8aa83f38fa1cea41df72e62fbb6494b3f63406 belcard-4.3.0.tar.gz"