blob: e7e2d7207de8d5aa4c59c4da66d124f0f0234818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Simon Hanna <simon dot hanna at serve-me dot info>
pkgname=onionshare
pkgver=1.1
pkgrel=1
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-nose')
depends=('stem' 'python-flask' 'python-pysocks')
optdepends=(
'python-pyqt5: to run onionshare-gui'
'tor-browser-en: before you can share a file, you need to open Tor Browser'
'tor-messenger-bin: tor-messenger can be used as an alternative to Tor Browser'
)
source=(https://github.com/micahflee/onionshare/archive/v$pkgver.tar.gz)
sha512sums=('6c8030cf610932ec003622738754116410649fbaacdca91475030f1f92c1359922d42a8555ddaae4a10ed30fe6b1f27d5eff2c9f30a1f03cc9c25504c18bc6c3')
build() {
cd "$srcdir/onionshare-$pkgver"
python setup.py build
}
check() {
cd "$srcdir/onionshare-$pkgver"
nosetests test
}
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:
|