From 4187eebccd73638e884b281206a93c512112c290 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Thu, 7 Mar 2019 19:26:06 +0100 Subject: pcr: gajim-plugin-omemo: sync with AUR and bump version If we bump the version to 2.6.30 or later, it would require gajim 1.1.91, however: - i686 has gajim 1.1.1 - x86_64 and armv7h have gajim 1.1.2 Signed-off-by: Denis 'GNUtoo' Carikli --- pcr/gajim-plugin-omemo/PKGBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pcr/gajim-plugin-omemo/PKGBUILD b/pcr/gajim-plugin-omemo/PKGBUILD index 207bdaf4e..a961ed5e8 100644 --- a/pcr/gajim-plugin-omemo/PKGBUILD +++ b/pcr/gajim-plugin-omemo/PKGBUILD @@ -1,30 +1,31 @@ -# Maintainer (AUR): Tommaso Sardelli +# Maintainer (AUR): Tommaso Sardelli # Maintainer: David P. - -_commit=e6f6f9425a460b9360a289025db8ff92 +# Contributor: Denis 'GNUtoo' Carikli pkgname=gajim-plugin-omemo -pkgver=2.5.8 +_pkgname=omemo +pkgver=2.6.27 pkgrel=1 pkgdesc="Gajim plugin for OMEMO Multi-End Message and Object Encryption." arch=(any) url="https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin" license=('GPL') -depends=("gajim>=1.0.0" "python-qrcode" "python-setuptools" "python-cryptography" "python-axolotl") +depends=("gajim>=1.0.99" "gajim<=1.1.90" "python-qrcode" "python-setuptools" "python-cryptography" "python-axolotl") provides=('gajim-plugin-omemo') conflicts=('gajim-plugin-omemo-git') -source=("https://dev.gajim.org/gajim/gajim-plugins/uploads/$_commit/omemo_2.5.8.zip") -sha512sums=('35f49d9dd6232a3e0703d312ddedb008accc9010629b32faf52fa1ecfa68537b892aa02ca4951f061cf4d1d6fe163e5d9156241fc188002c118fb5a6c6449427') +source=("https://ftp.gajim.org/plugins_releases/${_pkgname}_${pkgver}.zip") +sha512sums=('886319c373bb6435626bd36103221c375cd419d7a39970c36f4a5950aff565a17c4d050fa147e3f50d4987371885a559f0fbdecad4f85e1b87a3f049c49f9078') package() { - cd ${srcdir}/omemo + cd ${srcdir}/${_pkgname} # Remove unnecessary files rm -r CHANGELOG COPYING # Install the plugin - install -d ${pkgdir}/usr/lib/python3.6/site-packages/gajim/data/plugins/omemo - cp -r * ${pkgdir}/usr/lib/python3.6/site-packages/gajim/data/plugins/omemo/ + install -d ${pkgdir}/usr/lib/python3.7/site-packages/gajim/data/plugins/${_pkgname} + cp -r * ${pkgdir}/usr/lib/python3.7/site-packages/gajim/data/plugins/${_pkgname}/ } # vim:set ts=2 sw=2 et: + -- cgit v1.2.3