From fd3998eb638a92b84e375ce0ce390c6e1468381a Mon Sep 17 00:00:00 2001 From: David P Date: Thu, 23 Jul 2020 13:54:54 -0400 Subject: addpkg: pcr/belcard 4.4.0-1 Signed-off-by: David P --- pcr/belcard/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/belcard/PKGBUILD (limited to 'pcr') diff --git a/pcr/belcard/PKGBUILD b/pcr/belcard/PKGBUILD new file mode 100644 index 000000000..beb711260 --- /dev/null +++ b/pcr/belcard/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: David P. + +pkgname=belcard +pkgver=4.4.0 +pkgrel=1 +pkgdesc='A library for working with vCards' +arch=(x86_64 i686) +url='http://www.linphone.org/' +license=(GPL) +depends=(belr gcc-libs) +makedepends=(cmake) +source=("https://gitlab.linphone.org/BC/public/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('7283334681eb83b7461446dd3aa21ab97450b7a47a06c5fc1fd24bd9987e0996') + +build() { + mkdir -p build + cd build + + cmake -DCMAKE_PREFIX_PATH=/usr/lib \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_STATIC=NO \ + "../$pkgname-$pkgver" + make +} + +package() { + make -C build DESTDIR="$pkgdir" install +} -- cgit v1.2.2