Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/libpurple-lurch: New aport

From: Marian Buschsieweke <marian.buschsieweke_at_ovgu.de>
Date: Fri, 18 Aug 2017 13:23:47 +0200

OMEMO (double ratchet encryption) support for libpurple
https://github.com/gkdr/lurch
---
 testing/libpurple-lurch/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 testing/libpurple-lurch/APKBUILD
diff --git a/testing/libpurple-lurch/APKBUILD b/testing/libpurple-lurch/APKBUILD
new file mode 100644
index 0000000000..df402a70b3
--- /dev/null
+++ b/testing/libpurple-lurch/APKBUILD
_at_@ -0,0 +1,44 @@
+# Contributor: Marian <marian.buschsieweke_at_ovgu.de>
+# Maintainer: Marian <marian.buschsieweke_at_ovgu.de>
+pkgname=libpurple-lurch
+pkgver=0.6.5
+pkgrel=0
+pkgdesc="OMEMO (double ratchet encryption) support for libpurple"
+url="https://github.com/gkdr/lurch"
+arch="all"
+license="GPL"
+depends="libpurple libpurple-xmpp"
+makedepends="glib-dev pidgin-dev libxml2-dev mxml-dev sqlite-dev libgcrypt-dev cmake bsd-compat-headers"
+subpackages=""
+_axcver=0.3.0
+_libomemover=0.6.1
+_libsignalver=2.3.1
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/gkdr/lurch/archive/v${pkgver}.tar.gz
+	acx-${_acxver}.tar.gz::https://github.com/gkdr/axc/archive/v${_axcver}.tar.gz
+	libomemo-${_libomemover}.tar.gz::https://github.com/gkdr/libomemo/archive/v${_libomemover}.tar.gz
+	libsignal-protocol-c-${_libsignalver}.tar.gz::https://github.com/WhisperSystems/libsignal-protocol-c/archive/v${_libsignalver}.tar.gz"
+options="!check"
+builddir="${srcdir}/lurch-${pkgver}"
+
+prepare() {
+	cd "$srcdir"
+	rmdir lurch-${pkgver}/lib/libomemo lurch-${pkgver}/lib/axc axc-${_axcver}/lib/libsignal-protocol-c
+	mv libsignal-protocol-c-${_libsignalver} axc-${_axcver}/lib/libsignal-protocol-c
+	mv libomemo-${_libomemover} lurch-${pkgver}/lib/libomemo
+	mv axc-${_axcver} lurch-${pkgver}/lib/axc
+}
+
+build() {
+	cd "$builddir"
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="${pkgdir}" install
+}
+
+sha512sums="aa0cee1d9cf47ff9d096a6fd981d6ce510768c0fb60a373c8364c4ad6080da6d7f61ec5d71fab6952212d4a7b77e75d12c7e6065950eee8054e67b97b1d1724c  libpurple-lurch-0.6.5.tar.gz
+a7b55f2581ff5b9f5a1a510a53125f8ae430e0ff782e4611bb7e74a804b960a26dc523f0f46d755f79909160ccfbc23736d8fa58b3ea048439a23c2f919ceca7  acx-.tar.gz
+604aee2e7d18d4ac8d64ee025f4a6f3131a42e2eac3a570af3d777ce436b6964779fb919ffe4e413372d72aa73e68d575263ef8f7e72687d778870f358e77c3a  libomemo-0.6.1.tar.gz
+eca1f5be6bf238e116eb0c289951344d7a2ceb1ab849fa0a82dd08275444a33fea868a535b67c40a917108400a15ebbf80b2f78a0a93fa6bc2f89b6833c4a0f3  libsignal-protocol-c-2.3.1.tar.gz"
-- 
2.14.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Aug 18 2017 - 13:23:47 GMT