void-packages/srcpkgs/gajim-omemo/template

22 lines
763 B
Bash

# Template file for 'gajim-omemo'
pkgname=gajim-omemo
version=2.7.15
revision=2
wrksrc="omemo"
hostmakedepends="unzip"
depends="python3 python3-setuptools python3-cryptography python3-axolotl
python3-qrcode gajim"
short_desc="Gajim plugin for OMEMO Encryption"
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-3.0-or-later"
homepage="https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin"
distfiles="https://ftp.gajim.org/plugins_releases/${pkgname#gajim-}_${version}.zip"
checksum=7e8435125a4b566402e2531f4e73ab60647b2f88fb65d8da2955dfb1e3befede
do_install() {
rm CHANGELOG COPYING
install -d "${DESTDIR}/${py3_sitelib}/gajim/data/plugins/${pkgname#gajim-}"
cp -r * "${DESTDIR}/${py3_sitelib}/gajim/data/plugins/${pkgname#gajim-}"
}