diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /community-testing/kovpn/PKGBUILD | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'community-testing/kovpn/PKGBUILD')
-rw-r--r-- | community-testing/kovpn/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community-testing/kovpn/PKGBUILD b/community-testing/kovpn/PKGBUILD new file mode 100644 index 000000000..7730837b0 --- /dev/null +++ b/community-testing/kovpn/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 63174 2012-01-30 19:01:01Z ibiru $ +# 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=6 +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 +DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u' + 'http::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u' + 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u') +source=("https://projects.fslab.de/projects/kovpn/chrome/site/kovpn-${_pkgver}.tar.bz2" + "kovpn-disable-dcop.patch::https://bugs.archlinux.org/task/15464?getfile=4173") +md5sums=('19b61cf9f84088baffbd5bb0a287422c' + '21171b74f76289daea1cc61eedaa4dba') + +build() { + cd $srcdir/$pkgname-$_pkgver + + unset LDFLAGS + . /etc/profile.d/qt3.sh + export PATH=$QTDIR/bin:$PATH + export QMAKESPEC=$QTDIR/mkspecs/linux-g++ + + patch -Np1 -i ../kovpn-disable-dcop.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 + make prefix=$pkgdir/usr install +} |