# Maintainer: Marian Buschsieweke pkgname=gajim-plugin-omemo _pkgname="${pkgname#gajim-plugin-}" pkgver=2.6.2 pkgrel=1 pkgdesc="Gajim plugin for Multi-End Message and Object Encryption (OMEMO)" url="https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin" arch="noarch" license="GPL-3.0-only" depends="gajim py3-qrcode py3-axolotl" makedepends="py-setuptools python3-dev" source="$pkgname-$pkgver.zip::https://ftp.gajim.org/plugins_releases/${_pkgname}_${pkgver}.zip" builddir="$srcdir"/$_pkgname options="!check" build() { return 0 } package() { cd "$builddir" rm -f CHANGELOG COPYING site_pkgs="$(python3 -c 'import site; print(site.getsitepackages()[0])')" mkdir -p "$pkgdir/$site_pkgs/gajim/data/plugins/$_pkgname" cp -r ./* "$pkgdir/$site_pkgs/gajim/data/plugins/$_pkgname/" } sha512sums="cab2a10cc40d3e5764f3a91e9fda98779b66e9396ccfabfba62a33717c325d6eb087a288a0e66e15bb41c60a04f8e4205565a19915f35b092c38af83008ea0a6 gajim-plugin-omemo-2.6.2.zip"