diff --git a/srcpkgs/torsocks/template b/srcpkgs/torsocks/template index 04d7c5ad2d6..1908aa95101 100644 --- a/srcpkgs/torsocks/template +++ b/srcpkgs/torsocks/template @@ -1,13 +1,18 @@ # Template file for 'torsocks' pkgname=torsocks -version=1.2 -revision=5 +version=2.0.0 +revision=1 +hostmakedepends="automake libtool pkg-config" build_style=gnu-configure -configure_args="--disable-static --enable-oldmethod --datarootdir=/usr/share/${pkgname}" -conf_files="/etc/torsocks.conf" +configure_args="--disable-static --prefix=/usr" +conf_files="/etc/tor/torsocks.conf" short_desc="A transparent socks proxy for use with tor" maintainer="Juan RP " license="GPL-3" -homepage="http://www.gnu.org/software/sed" -distfiles="https://torsocks.googlecode.com/files/${pkgname}-${version}.tar.gz" -checksum=bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4 +homepage="https://gitweb.torproject.org/torsocks.git" +distfiles="https://github.com/dgoulet/${pkgname}/archive/v${version}.tar.gz" +checksum=a01f9e5ccc8a6e1d4e13704581ec9675129c147d10d08f86635f7bceb8001f48 + +pre_configure() { + autoreconf -fi +}