updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / torsocks / PKGBUILD
blob0eadf4eff5032cbaa172a8c2a960825e57c373b0
1 # Maintainer: Nicolas Pouillard >nicolas.pouillard@gmail.com>
2 # Contributor: Rorschach <r0rschach@lavabit.com>
4 pkgname=torsocks
5 pkgver=1.2
6 pkgrel=1
7 pkgdesc="Torsocks allows you to use most socks-friendly applications in a safe way with Tor."
8 arch=('i686' 'x86_64')
9 url="http://code.google.com/p/torsocks"
10 license=('GPL2')
11 optdepends=('tor')
12 makedepends=('patch')
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')
22 build() {
23   cd "$srcdir/$pkgname-$pkgver"
24   patch -p0 < $startdir/rename_res_funs.patch
25   ./configure --prefix=/usr --sysconfdir=/etc --enable-oldmethod
26   make
29 package() {
30   cd "$srcdir/$pkgname-$pkgver"
31   make DESTDIR="$pkgdir" install