1 # Contributor: Rorschach <r0rschach@lavabit.com>
6 pkgdesc="Controller GUI for Tor with experimental marble-map support"
7 url="http://vidalia-project.net"
10 depends=('qt>=4.2.0' 'tor>=0.2.0.34' 'marble-vidalia>=4029')
11 makedepends=('cmake>=2.4.0' 'marble-vidalia>=4029')
13 source=(https://www.torproject.org/vidalia/dist/vidalia-$pkgver.tar.gz arch_menuicon.patch vidalia.png)
14 md5sums=('71fd5c040d7b20536d5226915c49e89a' '5db6ee2f5599cc7a4e94de20a2a3972d' '5ec703cf17d75f880b2494495a5d2a58')
17 [ -f /etc/profile.d/qt4.sh ] && source /etc/profile.d/qt4.sh
19 patch -p0 < ../arch_menuicon.patch
22 cmake -DCMAKE_INSTALL_PREFIX=/usr \
24 -DMARBLE_INCLUDE_DIR=/usr/include/marble \
25 -DMARBLE_DATA_DIR=/usr/share/marble/data \
26 -DMARBLE_LIBRARY_DIR=/usr/lib/marble \
27 -DMARBLE_PLUGIN_DIR=/usr/lib/marble/plugins .
29 make DESTDIR=$pkgdir install
30 install -Dm644 doc/vidalia.1.in $pkgdir/usr/share/man/man1/vidalia.1
31 install -Dm644 $srcdir/vidalia.png $pkgdir/usr/share/pixmaps/vidalia.png