blob: 340a3b30588eecbf760e70bec6b2139757832142 (
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
|
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgname=lime
pkgver=5.3.5
pkgrel=1
pkgdesc="C++ library implementing Open Whisper System Signal protocol"
arch=('x86_64')
url="http://www.linphone.org/"
license=('GPL')
depends=("bctoolbox>=$pkgver" 'soci>=4.0.0')
makedepends=('cmake' 'boost')
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('cb7995485af93298624d66fcfc90653ee5fa0eea125b55fff79260cf2f08a51d')
build() {
cmake -B build $pkgname-$pkgver \
-DCMAKE_PREFIX_PATH="/usr" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DBUILD_SHARED_LIBS=YES \
-DENABLE_UNIT_TESTS=NO \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=maybe-uninitialized" \
-Wno-dev
make -C build
}
package() {
make DESTDIR="${pkgdir}" -C build install
}
|