diff options
-rw-r--r-- | pcr/gajim-plugin-omemo/PKGBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/pcr/gajim-plugin-omemo/PKGBUILD b/pcr/gajim-plugin-omemo/PKGBUILD index 0ef4606fe..207bdaf4e 100644 --- a/pcr/gajim-plugin-omemo/PKGBUILD +++ b/pcr/gajim-plugin-omemo/PKGBUILD @@ -1,29 +1,30 @@ +# Maintainer (AUR): Tommaso Sardelli <lacapannadelloziotom@gmail.com> # Maintainer: David P. <megver83@parabola.nu> -# Contributor: Tommaso Sardelli <lacapannadelloziotom AT gmail DOT com> + +_commit=e6f6f9425a460b9360a289025db8ff92 pkgname=gajim-plugin-omemo -_pkgname=omemo -pkgver=1.2.1 +pkgver=2.5.8 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" "python2-qrcode" "python2-setuptools" "python2-cryptography" "python2-axolotl" "python2-future") +depends=("gajim>=1.0.0" "python-qrcode" "python-setuptools" "python-cryptography" "python-axolotl") provides=('gajim-plugin-omemo') conflicts=('gajim-plugin-omemo-git') -source=("${_pkgname}-${pkgver}.zip::https://ftp.gajim.org/plugins_0.16_zip/${_pkgname}.zip") -sha512sums=(SKIP) +source=("https://dev.gajim.org/gajim/gajim-plugins/uploads/$_commit/omemo_2.5.8.zip") +sha512sums=('35f49d9dd6232a3e0703d312ddedb008accc9010629b32faf52fa1ecfa68537b892aa02ca4951f061cf4d1d6fe163e5d9156241fc188002c118fb5a6c6449427') package() { - cd ${srcdir}/${_pkgname} + cd ${srcdir}/omemo # Remove unnecessary files - rm -r CHANGELOG COPYING setup.cfg + rm -r CHANGELOG COPYING # Install the plugin - install -d ${pkgdir}/usr/share/gajim/plugins/omemo - cp -r * ${pkgdir}/usr/share/gajim/plugins/omemo/ + 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/ } # vim:set ts=2 sw=2 et: |