summaryrefslogtreecommitdiff
path: root/pcr/gajim-plugin-omemo/PKGBUILD
blob: 207bdaf4e3e0a88faa9f631e00a98ea9a862a7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer (AUR): Tommaso Sardelli <lacapannadelloziotom@gmail.com>
# Maintainer: David P. <megver83@parabola.nu>

_commit=e6f6f9425a460b9360a289025db8ff92

pkgname=gajim-plugin-omemo
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>=1.0.0" "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')

package() {
  cd ${srcdir}/omemo

  # 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/
}

# vim:set ts=2 sw=2 et: