diff options
-rw-r--r-- | testing/libpurple-lurch/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
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 @@ -0,0 +1,44 @@ +# Contributor: Marian <marian.buschsieweke@ovgu.de> +# Maintainer: Marian <marian.buschsieweke@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" |