aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiva Mahadevan <me@svmhdvn.name>2021-11-29 00:02:24 -0500
committerdispatch <dispatch@listserv.local>2021-11-29 05:02:36 +0000
commit4d3ff776a4bef32418603650027c5d70d33b1dfc (patch)
tree6c655ea9d6ae64f5b9ec4e06cd369537f591a477
parent044a4cd143a5e3747f9fb368c15e1fe6f88b24e6 (diff)
downloadaports-4d3ff776a4bef32418603650027c5d70d33b1dfc.tar.gz
aports-4d3ff776a4bef32418603650027c5d70d33b1dfc.tar.bz2
aports-4d3ff776a4bef32418603650027c5d70d33b1dfc.tar.xz
testing/libsignal-client: new aportpatches/3787
testing/libsignal-client/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 testing/libsignal-client/APKBUILD
-rw-r--r--testing/libsignal-client/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/libsignal-client/APKBUILD b/testing/libsignal-client/APKBUILD
new file mode 100644
index 0000000000..313e155239
--- /dev/null
+++ b/testing/libsignal-client/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Siva Mahadevan <me@svmhdvn.name>
+# Maintainer: Siva Mahadevan <me@svmhdvn.name>
+pkgname=libsignal-client
+pkgver=0.11.0
+pkgrel=0
+pkgdesc="Implementation of the Signal client protocol in Rust"
+url="https://github.com/signalapp/libsignal-client"
+arch="all !mips64 !riscv64 !s390x"
+license="AGPL-3.0-only"
+depends="openssl-dev"
+makedepends="cargo"
+source="$pkgname-$pkgver.tar.gz::https://github.com/signalapp/libsignal-client/archive/v$pkgver.tar.gz"
+
+build() {
+ cargo build --workspace --release --locked
+}
+
+check() {
+ cargo test --release --locked
+}
+
+package() {
+ install -Dm755 "target/release/libsignal_jni.so" "$pkgdir/usr/lib/libsignal_jni.so"
+}
+sha512sums="
+a2318916067d6d301e732047dbe60e69d904abf4ed0f80a88d0751b16d138ea61c0a263b98d3eb76df7c445decd7e2aa587380d3b14ef58a5ec3bad2b07092a7 libsignal-client-0.11.0.tar.gz
+"