void-packages/srcpkgs/onionshare/template
2019-04-18 10:18:42 -03:00

28 lines
1.1 KiB
Bash

# Template file for 'onionshare'
pkgname=onionshare
version=2.0
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"
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=528ceb6234ecacabe51080e351c2e8f205cbf08cdfcfddc418586d578baa030e
conf_files="/etc/apparmor.d/local/*"
post_install() {
vmkdir etc/apparmor.d
vcopy "apparmor/*" etc/apparmor.d/
}