1 # Maintainer: Nicolas Pouillard >nicolas.pouillard@gmail.com>
2 # Contributor: Rorschach <r0rschach@lavabit.com>
7 pkgdesc="Torsocks allows you to use most socks-friendly applications in a safe way with Tor."
9 url="http://code.google.com/p/torsocks"
13 backup=("etc/${pkgname}.conf")
14 conflicts=(torsocks-git)
15 source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz
16 http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz.sig
17 rename_res_funs.patch)
18 md5sums=('9bdc8786951e7eec6915433f324f22a4'
19 '0ca84d67beae0a800fcad0a6e4b9f777'
20 '281b32472f03ad86055f10a083f5272f')
23 cd "$srcdir/$pkgname-$pkgver"
24 patch -p0 < $startdir/rename_res_funs.patch
25 ./configure --prefix=/usr --sysconfdir=/etc --enable-oldmethod
30 cd "$srcdir/$pkgname-$pkgver"
31 make DESTDIR="$pkgdir" install