void-packages/srcpkgs/onionshare/template

29 lines
1.1 KiB
Bash

# Template file for 'onionshare'
pkgname=onionshare
version=2.1
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"
short_desc="Share files anonymously and securely"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://onionshare.org/"
distfiles="https://github.com/micahflee/onionshare/archive/v${version}.tar.gz"
checksum=b412bc1e9d08deaa2805cfc9532b556928fa7b332d249189fb0887f27d587ddb
conf_files="/etc/apparmor.d/local/*"
post_install() {
vmkdir etc/apparmor.d
vcopy "apparmor/*" etc/apparmor.d/
}