summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-07-23 12:59:07 -0400
committerDavid P <megver83@parabola.nu>2020-07-23 12:59:07 -0400
commitf7727cb9b557a1cd3ebccf01e0a378be00d1a145 (patch)
tree746f617b1ac9d0a9880ab52a50e3d86688347ff0 /pcr
parent118d49b70e08b4bb49acbbf048062af1d733a792 (diff)
downloadabslibre-f7727cb9b557a1cd3ebccf01e0a378be00d1a145.tar.gz
abslibre-f7727cb9b557a1cd3ebccf01e0a378be00d1a145.tar.bz2
abslibre-f7727cb9b557a1cd3ebccf01e0a378be00d1a145.zip
addpkg: pcr/belr 4.4.0-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr')
-rw-r--r--pcr/belr/PKGBUILD29
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
+}