# Arch contributor: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/torsocks # Maintainer: Bruce Liu pkgname=torsocks pkgver=2.0.0 pkgrel=3 pkgdesc='Wrapper to safely torify applications' arch=('i686' 'x86_64') url='http://code.google.com/p/torsocks' license=('GPL2') makedepends=('git') backup=("etc/tor/${pkgname}.conf") source=("git+https://git.torproject.org/torsocks.git#tag=v$pkgver") provides=('tsocks') replaces=('tsocks') md5sums=('SKIP') build() { cd $pkgname ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc make } package() { cd $pkgname make DESTDIR="$pkgdir/" install find "$pkgdir/usr/share" -maxdepth 1 -type f -delete }