updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vidalia-marble / PKGBUILD
blob2e6d8ae32747a6d535bb52ae934aeac903aea63b
1 # Contributor: Rorschach <r0rschach@lavabit.com>
3 pkgname=vidalia-marble
4 pkgver=0.2.7
5 pkgrel=1
6 pkgdesc="Controller GUI for Tor with experimental marble-map support"
7 url="http://vidalia-project.net"
8 arch=('i686' 'x86_64')
9 license="GPL"
10 depends=('qt>=4.2.0' 'tor>=0.2.0.34' 'marble-vidalia>=4029')
11 makedepends=('cmake>=2.4.0' 'marble-vidalia>=4029')
12 conflicts=('vidalia')
13 source=(https://www.torproject.org/vidalia/dist/vidalia-$pkgver.tar.gz arch_menuicon.patch vidalia.png)
14 md5sums=('71fd5c040d7b20536d5226915c49e89a' '5db6ee2f5599cc7a4e94de20a2a3972d' '5ec703cf17d75f880b2494495a5d2a58')
16 build() {
17   [ -f /etc/profile.d/qt4.sh ] && source /etc/profile.d/qt4.sh
19   patch -p0 < ../arch_menuicon.patch
20   cd vidalia-$pkgver
21   make clean
22   cmake -DCMAKE_INSTALL_PREFIX=/usr \
23         -DUSE_MARBLE=1 \
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 .
28   make || return 1
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