desktop/vidalia/PKGBUILD
2013-01-14 18:23:38 +00:00

37 lines
931 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor Giuseppe Calà <jiveaxe@gmail.com>
pkgname=vidalia
pkgver=0.2.21
pkgrel=1
pkgdesc="Controller GUI for Tor"
url="https://www.torproject.org/vidalia"
arch=('x86_64')
license="GPL"
depends=('qt' 'tor>=0.2.3.25')
makedepends=('cmake>=2.4.0')
categories=('network')
source=("https://www.torproject.org/vidalia/dist/$pkgname-$pkgver.tar.gz"
'vidalia.png')
md5sums=('8d3079a66d79c79ccfefb929b820f9ac'
'5ec703cf17d75f880b2494495a5d2a58')
build() {
[ -f /etc/profile.d/qt4.sh ] && source /etc/profile.d/qt4.sh
cd $pkgname-$pkgver
cmake -D CMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
install -Dm644 doc/vidalia.1.in $pkgdir/usr/share/man/man1/vidalia.1
install -Dm644 $srcdir/vidalia.png $pkgdir/usr/share/pixmaps/vidalia.png
}