1 # Maintainer: Felix Yan <felixonmars@gmail.com>
2 # Contributor: Darwin Bautista <djclue917@gmail.com>
3 # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
9 pkgdesc="An anonymity manager for KDE"
11 url="http://www.anonymityanywhere.com/${pkgname}/"
13 depends=("geoip>=1.4.3" "kdelibs3" "${libname}" "torsocks")
14 backup=("etc/${pkgname}-tsocks.conf")
15 options=("!emptydirs" "!libtool")
16 install=${pkgname}.install
19 http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
23 'cf94b9579cf24254fcb344f579088a241bbd4028'
24 '70c450031bf5e603801451fc016e5cfc22cfd19c'
28 cd ${srcdir}/${pkgname}-${pkgver}
30 # Source the KDE and QT profiles
31 source /etc/profile.d/kde3.sh
32 source /etc/profile.d/qt3.sh
34 msg "Applying patch(es) ..."
36 patch -Np1 -i ../fix_net_port.patch
39 msg "Compiling tork ..."
40 ./configure --prefix=/opt/kde --mandir=/opt/kde/share/man \
41 --sysconfdir=/etc --with-external-geoip --without-arts
43 # Fix --as-needed and --hash-style=gnu options not recognized error
44 find . -name Makefile -exec sed -i "s/-Wl,--as-needed//g" {} \;
45 find . -name Makefile -exec sed -i "s/-Wl,--hash-style=gnu//g" {} \;
48 make DESTDIR=${pkgdir} install
51 # vim:set ts=2 sw=2 et: