void-packages/srcpkgs/onionshare/template

25 lines
841 B
Bash

# Template file for 'onionshare'
pkgname=onionshare
version=2.2
revision=3
archs=noarch
build_style=python3-module
pycompile_dirs="/usr/share/nautilus-python/extensions"
hostmakedepends="python3-setuptools"
depends="python3-Flask-HTTPAuth python3-pycryptodome python3-PyQt5
python3-pysocks python3-requests python3-stem tor"
short_desc="Share files anonymously and securely"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://onionshare.org/"
changelog="https://raw.githubusercontent.com/micahflee/onionshare/develop/CHANGELOG.md"
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/
}