blob: b7f6da13db522b3b041f03d2e0bc600c21f7584b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgname=belr
pkgver=5.3.36
pkgrel=1
pkgdesc="A library for working with vCards"
arch=('x86_64')
url="http://www.linphone.org/"
license=('GPL')
depends=("bctoolbox>=$pkgver")
makedepends=('cmake')
source=("belr-$pkgver.tar.gz::https://github.com/BelledonneCommunications/belr/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('7268bcc35bca569e3004b5dc0da49a1b88db3dc2cc3c3861f5e7cb4b17fa3a58')
build() {
cmake -B build $pkgname-$pkgver \
-DCMAKE_PREFIX_PATH="/usr" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DBUILD_SHARED_LIBS=YES \
-DENABLE_TOOLS=NO \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
-DENABLE_UNIT_TESTS=NO \
-Wno-dev
make -C build
}
package() {
make DESTDIR="${pkgdir}" -C build install
}
|