summaryrefslogtreecommitdiff
path: root/community/vidalia/PKGBUILD
blob: dc704b88858f1de908f78fc2d6e594833a99d9de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 64515 2012-02-15 15:45:44Z tredaelli $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Rorschach <r0rschach@lavabit.com>

pkgname=vidalia
pkgver=0.2.17
pkgrel=1
pkgdesc="Controller GUI for Tor"
url="https://www.torproject.org/vidalia"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('qt' 'tor')
makedepends=('cmake')
install=vidalia.install
source=("https://www.torproject.org/vidalia/dist/$pkgname-$pkgver.tar.gz")
md5sums=(dcfd49e7f2ff73702e6007091cbe33d6)

build() {
  [[ -f /etc/profile.d/qt4.sh ]] && source /etc/profile.d/qt4.sh

  cd "$srcdir"
  mkdir build
  cd build
  cmake -D CMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgver
  make
}

package() {
  cd "$srcdir/build"
  make DESTDIR="$pkgdir/" install
  install -Dm644 ../$pkgname-$pkgver/doc/vidalia.1 "$pkgdir"/usr/share/man/man1/vidalia.1 || return 1
}