summaryrefslogtreecommitdiff
path: root/community/torsocks
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/torsocks
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/torsocks')
-rw-r--r--community/torsocks/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/torsocks/PKGBUILD b/community/torsocks/PKGBUILD
new file mode 100644
index 000000000..352a1dce2
--- /dev/null
+++ b/community/torsocks/PKGBUILD
@@ -0,0 +1,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')
+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
+}