diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/lime/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/lime/PKGBUILD b/pcr/lime/PKGBUILD new file mode 100644 index 000000000..a1028da69 --- /dev/null +++ b/pcr/lime/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: David P. <megver83@parabola.nu> + +pkgname=lime +pkgver=4.4.0 +pkgrel=1 +pkgdesc='C++ library implementing Open Whisper System Signal protocol' +arch=(x86_64 i686) +url='http://www.linphone.org/' +license=('GPL') +depends=(bctoolbox soci boost) +makedepends=(cmake) +source=("https://gitlab.linphone.org/BC/public/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('7463294a419298d9765d6f8092216124bdd5876028e6af3419ac1b96800590e4') + +build() { + mkdir -p build + cd build + + cmake -DCMAKE_PREFIX_PATH=/usr \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_STATIC=NO \ + -DENABLE_UNIT_TESTS=NO \ + "../$pkgname-$pkgver" + make +} + +package() { + make -C build DESTDIR="$pkgdir" install +} |