summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-07-23 13:54:54 -0400
committerDavid P <megver83@parabola.nu>2020-07-23 13:54:54 -0400
commitfd3998eb638a92b84e375ce0ce390c6e1468381a (patch)
treee772d87e0041296d94876504e69ff397414d661e /pcr
parentf51ddcb00c111ecc26754f5605c367cc2c54e596 (diff)
addpkg: pcr/belcard 4.4.0-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr')
-rw-r--r--pcr/belcard/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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. <megver83@parabola.nu>
+
+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
+}