updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / vidalia / PKGBUILD
blobd64bfd5851b77ac362c1da470ae4c30074d8c473
1 # Contributor: Rorschach <r0rschach@lavabit.com>
3 pkgname=vidalia
4 pkgver=0.2.15
5 pkgrel=1
6 pkgdesc="Controller GUI for Tor"
7 url="https://www.torproject.org/vidalia"
8 arch=('i686' 'x86_64')
9 license="GPL"
10 depends=('qt>=4.3.0' 'tor>=0.2.0.35')
11 makedepends=('cmake>=2.4.0')
12 install=vidalia.install
13 source=(vidalia.install https://www.torproject.org/vidalia/dist/$pkgname-$pkgver.tar.gz)
14 md5sums=(c23ead36bd6eb429172f18b2ff3918c3 845b627eb2534aa5da29efd6c8d30978)
16 build() {
17   [ -f /etc/profile.d/qt4.sh ] && source /etc/profile.d/qt4.sh
19   cd $pkgname-$pkgver
20   cmake -D CMAKE_INSTALL_PREFIX=/usr . || return 1
21   make || return 1
22   make DESTDIR=$pkgdir install || return 1
23   install -Dm644 doc/vidalia.1.in $pkgdir/usr/share/man/man1/vidalia.1 || return 1