diff options
author | root <root@rshg054.dnsready.net> | 2012-01-26 23:14:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-26 23:14:55 +0000 |
commit | 3741146d50cb93e8985f8aac937e36d35ee76446 (patch) | |
tree | 98628c2ca15482ec0c66a81db48b4ddd777e1136 /community/vidalia | |
parent | a61c6fb05ec1cbc6845b2ed4077ce0c5950c36ed (diff) |
Thu Jan 26 23:14:55 UTC 2012
Diffstat (limited to 'community/vidalia')
-rw-r--r-- | community/vidalia/PKGBUILD | 32 | ||||
-rw-r--r-- | community/vidalia/vidalia.install | 11 |
2 files changed, 43 insertions, 0 deletions
diff --git a/community/vidalia/PKGBUILD b/community/vidalia/PKGBUILD new file mode 100644 index 000000000..9bb33a812 --- /dev/null +++ b/community/vidalia/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 62747 2012-01-25 18:13:51Z tredaelli $ +# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> +# Contributor: Rorschach <r0rschach@lavabit.com> + +pkgname=vidalia +pkgver=0.2.15 +pkgrel=1 +pkgdesc="Controller GUI for Tor" +url="https://www.torproject.org/vidalia" +arch=('i686' 'x86_64') +license=('GPL') +depends=('qt' 'tor') +makedepends=('cmake') +install=vidalia.install +source=("https://www.torproject.org/vidalia/dist/$pkgname-$pkgver.tar.gz") +md5sums=(845b627eb2534aa5da29efd6c8d30978) + +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 +} diff --git a/community/vidalia/vidalia.install b/community/vidalia/vidalia.install new file mode 100644 index 000000000..58b897a0a --- /dev/null +++ b/community/vidalia/vidalia.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} |