blob: 2bfe22883dfa4e9a33f7420d53df4c1a5b126747 (
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
33
34
35
|
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Rorschach <r0rschach@lavabit.com>
# Contributor: Mikhail Felixoid Shiryaev <mr.felixoid na gmail.com>
pkgname=vidalia
pkgver=0.2.21
pkgrel=6
pkgdesc="Controller GUI for Tor"
url="https://www.torproject.org/vidalia"
arch=('i686' 'x86_64')
license=('GPL')
depends=('geoip' 'qt4' 'tor')
makedepends=('cmake')
install=vidalia.install
source=(https://archive.torproject.org/tor-package-archive/vidalia/$pkgname-$pkgver.tar.gz{,.asc} vidalia.install TorSettings.h.patch)
sha256sums=('c4008e7e7781dddf4a8670a435da6496dc9309dbdbc6125ac6d2cc871bdc1be7'
'SKIP'
'c20e899df28939abd84fd3ec0e2e62058e85da0a42e123af732cdaabb7da177e'
'3162d613ede727088fcb48d26b09ebb5246e103d74b0ca95834ce30a0cbe6ffb')
validpgpkeys=('8738A680B84B3031A630F2DB416F061063FEE659')
build() {
patch -i TorSettings.h.patch ${pkgname}-${pkgver}/src/vidalia/config/TorSettings.h
cd "$srcdir"
mkdir -p build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr -DUSE_GEOIP=1 ../$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
}
|