Subject: [PATCH] testing/zkgroup: new aport

From: Siva Mahadevan <[email-masked]>
Date: Sun, 14 Feb 2021 12:23:33 -0500

https://github.com/signalapp/zkgroup
Library for the Signal Private Group System
---
 testing/zkgroup/APKBUILD | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 testing/zkgroup/APKBUILD

diff --git a/testing/zkgroup/APKBUILD b/testing/zkgroup/APKBUILD
new file mode 100644
index 0000000000..3325d6a659
--- /dev/null
+++ b/testing/zkgroup/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Siva Mahadevan <[email-masked]>
+# Maintainer: Siva Mahadevan <[email-masked]>
+pkgname=zkgroup
+pkgver=0.7.1
+pkgrel=0
+pkgdesc="Library for the Signal Private Group System"
+url="https://github.com/signalapp/zkgroup"
+arch="all !s390x !mips !mips64 !ppc64le" # limited by cargo
+license="GPL-3.0-only"
+makedepends="cargo"
+source="$pkgname-$pkgver.tar.gz::https://github.com/signalapp/zkgroup/archive/v$pkgver.tar.gz"
+
+build() {
+	cargo build --release --locked
+}
+
+check() {
+	cargo test --release --locked
+}
+
+package() {
+	install -Dm755 "target/release/libzkgroup.so" "$pkgdir/usr/lib/libzkgroup.so"
+}
+
+sha512sums="15ca79a2bf6baf2f9ac09e06f33ac35cbea628f5debd9c254f8a284018d62945ce31992c2815b371c44c8974d5eefb80765220d43a2cfbd8b1ad753138f69742  zkgroup-0.7.1.tar.gz"
-- 
2.30.1