1 # Contributor: gillux <gillou.ray+sp4mkill3r@free.fr>
5 pkgdesc="An anonymous bittorrent client and web browser, based on TOR"
7 url="http://www.bitblinder.com/"
9 # NOTE: BitBlinder can still be run without pygtk (console mode)
10 depends=(twisted python-m2crypto pygtk)
11 makedepends=(setuptools libevent)
12 optdepends=('psyco2-svn: makes bitblinder slightly faster and more efficient')
13 install=bitblinder.install
14 source=(http://www.bitblinder.com/media/distribution/bitblinderSource/${pkgname}_${pkgver}.tar.gz
15 http://www.bitblinder.com/media/distribution/innomitorSource/innomitor_${pkgver}.tar.gz
17 bitblinder-0.6.2.fix-python-install-path.patch)
18 md5sums=('114f87cc2406344cafb5baeb841b49b1'
19 '4d8f5c9ada5987eac189d405471935ae'
20 '9a20468e5498ea91ba38bd4d9faa6db5'
21 '31c50586abc79401dd5f3fe285c6fcd7')
24 cd "$srcdir/innomitor-$pkgver"
25 ./autogen.sh || return 1
26 ./configure --prefix=/usr || return 1
28 install -Dm 755 src/or/tor "$pkgdir"/usr/bin/innomitor
30 cd "$srcdir/$pkgname-$pkgver"
31 make -C miniupnpc || return 1
32 patch -p0 < "$startdir"/bitblinder-0.6.2.fix-python-install-path.patch
33 python setup.py install --prefix=/usr --root="$pkgdir" || return 1
34 install -Dm 755 "$srcdir/bitblinder.sh" "$pkgdir"/usr/bin/bitblinder
35 install -Dm 755 miniupnpc/upnpc-static "$pkgdir"/usr/bin/upnpc-static
38 # vim:set ts=2 sw=2 et: