1 # Contributor: post <postwannabe@gmail.com>
5 pkgdesc="An anonymizing overlay network for TCP"
7 url="http://tor.eff.org"
12 depends=('openssl' 'zlib' 'libevent>=1.3d')
13 source=("http://www.torproject.org/dist/tor-$pkgver-alpha.tar.gz" "tor.conf" "tor.rc")
16 cd $startdir/src/tor-$pkgver-alpha
17 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
20 mkdir -p $startdir/pkg/var/lib
21 install -o43 -g43 -d -m0700 $startdir/pkg/var/lib/tor
22 install -D -m644 $startdir/src/tor.conf $startdir/pkg/etc/tor/torrc
23 install -D -m755 $startdir/src/tor.rc $startdir/pkg/etc/rc.d/tor
25 make DESTDIR=$startdir/pkg install
26 mv $startdir/pkg/etc/tor/torrc.sample $startdir/pkg/etc/tor/torrc-dist
28 # vim: ft=sh sw=2 ts=2
29 md5sums=('c3f84e1ad09888ab1900873ec08f6282'
30 '56c75d4e8a66f34167d31e38c43793dd'
31 '4e39d56f462fc9f59e91715ac1b994c0')