summaryrefslogtreecommitdiff
path: root/community/torsocks/PKGBUILD
blob: 0497dd696913118224b7b476e0f4ae0c9b4ece0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
# Contributor: Rorschach <r0rschach@lavabit.com>

pkgname=torsocks
pkgver=1.3
pkgrel=4
pkgdesc='Wrapper to safely torify applications'
arch=('i686' 'x86_64' 'mips64el')
url='http://code.google.com/p/torsocks'
license=('GPL2')
depends=('tor')
makedepends=('git')
options=(!libtool)
backup=("etc/${pkgname}.conf")
source=("git://git.torproject.org/torsocks.git#tag=1.3")
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
}