diff options
Diffstat (limited to 'community/kovpn/PKGBUILD')
-rw-r--r-- | community/kovpn/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/kovpn/PKGBUILD b/community/kovpn/PKGBUILD new file mode 100644 index 000000000..17d94f120 --- /dev/null +++ b/community/kovpn/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 9444 2010-01-25 14:13:42Z spupykin $ +# 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=4 +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') +makedepends=('automake' 'autoconf') +options=('libtool') +install=kovpn.install +source=("http://projects.fslab.de/projects/kovpn/chrome/site/kovpn-${_pkgver}.tar.bz2" + "kovpn-disable-dcop.patch::http://bugs.archlinux.org/task/15464?getfile=4173" + 'traywindow_x86_64.patch') +md5sums=('19b61cf9f84088baffbd5bb0a287422c' + '21171b74f76289daea1cc61eedaa4dba' + 'bf6218bf2686b6fe41874d5df4e71d63') + +build() { + cd $startdir/src/$pkgname-$_pkgver + + . /etc/profile.d/qt3.sh + export PATH=$QTDIR/bin:$PATH + export QMAKESPEC=$QTDIR/mkspecs/linux-g++ + + patch -Np1 -i ../kovpn-disable-dcop.patch + + [ "$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 +} |