diff options
-rw-r--r-- | pcr/belr/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/belr/PKGBUILD b/pcr/belr/PKGBUILD new file mode 100644 index 000000000..169507f4d --- /dev/null +++ b/pcr/belr/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: David P. <megver83@parabola.nu> + +pkgname=belr +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=(bctoolbox) +makedepends=(cmake) +source=("https://gitlab.linphone.org/BC/public/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('0b6ab6d3c4d0eb07036e21d2a7e03d949230cc89fd70730d79e28292f02ff101') + +build() { + mkdir -p build + cd build + + cmake -DCMAKE_PREFIX_PATH="/usr" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DENABLE_STATIC=NO \ + -DENABLE_TOOLS=NO \ + -DCMAKE_SKIP_INSTALL_RPATH=ON "../$pkgname-$pkgver" + make +} + +package() { + make -C build DESTDIR="$pkgdir" install +} |