# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=belr pkgver=5.1.12 pkgrel=0 pkgdesc="ABNF Parser" url="https://www.linphone.org" arch="all" license="GPL-3.0-or-later" options="!check" # not test available makedepends="cmake bctoolbox-dev eudev-dev" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/belr/archive/$pkgver.tar.gz" build() { cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_MODULE_PATH=/usr/lib/cmake \ -DENABLE_STRICT=NO \ -DENABLE_SHARED=YES \ -DENABLE_TESTS=NO \ -DENABLE_STATIC=NO \ . cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 996a05d50ae85d846780a39ab49c0ca26c80320afe5607454b082f060f1f96de2c0ca2b57d66c0f99b37300e269a0ca70e3a0da24687070ea7f042b741e88b5e belr-5.1.12.tar.gz "