void-packages/srcpkgs/onionshare/template

30 lines
1.1 KiB
Bash

# Template file for 'onionshare'
pkgname=onionshare
version=2.2
revision=1
archs=noarch
build_style=python3-module
pycompile_module="onionshare"
pycompile_dirs="/usr/share/nautilus-python/extensions"
hostmakedepends="python3-setuptools"
depends="python3-cffi python3-chardet python3-click python3-cryptography
python3-Flask python3-future python3-idna python3-itsdangerous
python3-Jinja2 python3-MarkupSafe python3-pycparser python3-pycryptodome
python3-PyQt5 python3-pysocks python3-requests python3-six python3-stem
python3-urllib3 python3-Werkzeug python3-asn1crypto python3-altgraph
python3-sip-PyQt5 python3-macholib python3-pefile python3-simplejson tor
python3-Flask-HTTPAuth"
short_desc="Share files anonymously and securely"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://onionshare.org/"
distfiles="https://github.com/micahflee/onionshare/archive/v${version}.tar.gz"
checksum=7173863d7582b05aa8fd0d2207236e3cbbb38d854aad65e3b98ec5baad521fc2
conf_files="/etc/apparmor.d/local/*"
post_install() {
vmkdir etc/apparmor.d
vcopy "apparmor/*" etc/apparmor.d/
}