updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / torsocks-git / PKGBUILD
blob0954dfff2e4605b1ee512220134912d315535123
1 pkgname=torsocks-git
2 _pkgname=torsocks
3 pkgver=20090913
4 pkgrel=1
5 pkgdesc="Torsocks allows you to use most socks-friendly applications in a safe way with Tor."
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/torsocks"
8 license=('GPL2')
9 makedepends=('patch')
10 _gitroot=git://git.torproject.org/git/${_pkgname}
11 _gitname=${_pkgname}
13 build() {
14         git clone $_gitroot $_gitname || return 1
15         cd $_gitname || return 1
16         autoreconf -fiv
17         make -f Makefile.cvs
18         ./configure --prefix=/usr
19         make DESTDIR="${pkgdir}" install || return 1