mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
31 lines
968 B
Bash
31 lines
968 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=vidalia
|
|
pkgver=0.2.10
|
|
pkgrel=3
|
|
pkgdesc="Controller GUI for Tor"
|
|
url="https://www.torproject.org/vidalia"
|
|
arch=('i686' 'x86_64')
|
|
license="GPL"
|
|
depends=('qt>=4.3.0' 'tor>=0.2.0.35')
|
|
makedepends=('cmake>=2.4.0')
|
|
source=(https://www.torproject.org/vidalia/dist/$pkgname-$pkgver.tar.gz vidalia.png)
|
|
md5sums=('ae5a46cc362e2db54f8751ccc9becaba' '5ec703cf17d75f880b2494495a5d2a58')
|
|
|
|
build() {
|
|
[ -f /etc/profile.d/qt4.sh ] && source /etc/profile.d/qt4.sh
|
|
|
|
cd $pkgname-$pkgver
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr . || return 1
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
install -Dm644 doc/vidalia.1.in $pkgdir/usr/share/man/man1/vidalia.1 || return 1
|
|
install -Dm644 $srcdir/vidalia.png $pkgdir/usr/share/pixmaps/vidalia.png || return 1
|
|
}
|