[aur-requests] [PRQ#14177] Orphan Request for onionshare
notify at aur.archlinux.org
notify at aur.archlinux.org
Thu Feb 21 15:04:22 UTC 2019
mayel [1] filed a orphan request for onionshare [2]:
was able to build onionshare 2.0 by modifying the PKG to:
# Maintainer: Simon Hanna <thelinuxguy on freenode>
pkgname=onionshare
pkgver=2.0
pkgrel=2
pkgdesc="Lets you securely and anonymously share a file of any size
with someone"
url="https://github.com/micahflee/onionshare"
arch=('any')
license=('GPL3')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
depends=('stem' 'python-flask' 'tor' 'python-pysocks')
optdepends=(
'python-pyqt5: to run onionshare-gui'
'obfs4proxy: for tor bridge support'
)
# if you want nautilus integration you need to remove the nautilus
patch
source=(
https://github.com/micahflee/onionshare/archive/v$pkgver.tar.gz
nautilus-python.patch
)
sha512sums=('SKIP'
'SKIP')
prepare() {
cd "$srcdir/onionshare-$pkgver"
patch -i "${srcdir}/nautilus-python.patch"
}
check() {
cd "$srcdir/onionshare-$pkgver"
pip3 install --user -r "install/requirements-tests.txt"
pytest tests/
}
package() {
cd "$srcdir/onionshare-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -D -m 644 install/onionshare.desktop
"${pkgdir}/usr/share/applications/onionshare.desktop"
install -D -m 644 install/onionshare80.xpm
"${pkgdir}/usr/share/pixmaps/onionshare80.xpm"
}
# vim:set ts=2 sw=2 et:
[1] https://aur.archlinux.org/account/mayel/
[2] https://aur.archlinux.org/pkgbase/onionshare/
More information about the aur-requests
mailing list