PKGBUILDs/community/kovpn/PKGBUILD

36 lines
1.1 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
pkgname=kovpn
pkgver=0.3pre7
_pkgver=0.3.pre7
pkgrel=2
pkgdesc="An OpenVPN client management interface for KDE"
arch=('i686' 'x86_64')
url="http://www.kde-apps.org/content/show.php?content=37043"
license=('GPL')
depends=('openvpn' 'kdelibs3' 'xdg-utils')
options=('libtool')
install=kovpn.install
source=(http://projects.fslab.de/projects/kovpn/chrome/site/kovpn-${_pkgver}.tar.bz2
'traywindow_x86_64.patch')
md5sums=('19b61cf9f84088baffbd5bb0a287422c'
'bf6218bf2686b6fe41874d5df4e71d63')
build() {
cd $startdir/src/$pkgname-$_pkgver
. /etc/profile.d/qt3.sh
export PATH=$QTDIR/bin:$PATH
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
[ "$CARCH" = "x86_64" ] && patch -Np0 -i ../traywindow_x86_64.patch
sed -i 's#automake\*1.10\*#automake*1.10* | automake*1.11*#' admin/cvs.sh
make -f admin/Makefile.common cvs
./configure --prefix=/opt/kde --without-arts --with-qt-dir=/opt/qt
make || return 1
make prefix=$startdir/pkg/usr install
}