[arch-commits] Commit in libsignal-protocol-c/repos (2 files)

Bruno Pagani archange at archlinux.org
Fri Jan 31 15:52:33 UTC 2020


    Date: Friday, January 31, 2020 @ 15:52:33
  Author: archange
Revision: 560816

archrelease: copy trunk to community-x86_64

Added:
  libsignal-protocol-c/repos/community-x86_64/
  libsignal-protocol-c/repos/community-x86_64/PKGBUILD
    (from rev 560815, libsignal-protocol-c/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: libsignal-protocol-c/repos/community-x86_64/PKGBUILD (from rev 560815, libsignal-protocol-c/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-01-31 15:52:33 UTC (rev 560816)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=libsignal-protocol-c
+pkgver=2.3.2
+pkgrel=1
+pkgdesc="Signal Protocol C Library"
+arch=(x86_64)
+url="https://github.com/WhisperSystems/libsignal-protocol-c"
+license=(GPL3)
+depends=(glibc)
+makedepends=(cmake)
+checkdepends=(check openssl)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d')
+
+build() {
+  cmake -B build -S ${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON \
+    -DBUILD_TESTING=1
+  make -C build
+}
+
+check() {
+  cd build
+  make -C tests
+  ctest
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list