From edbd4f387d17bd72468179e2f88887cf96fec9d7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 18 Apr 2019 06:35:37 -0300 Subject: [PATCH] New package: onionshare-2.0 fixes #10533 --- srcpkgs/onionshare/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/onionshare/template diff --git a/srcpkgs/onionshare/template b/srcpkgs/onionshare/template new file mode 100644 index 00000000000..a2644f495a6 --- /dev/null +++ b/srcpkgs/onionshare/template @@ -0,0 +1,28 @@ +# 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 " +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/ +}