summaryrefslogtreecommitdiff
path: root/community/kovpn
diff options
context:
space:
mode:
Diffstat (limited to 'community/kovpn')
-rw-r--r--community/kovpn/PKGBUILD25
1 files changed, 12 insertions, 13 deletions
diff --git a/community/kovpn/PKGBUILD b/community/kovpn/PKGBUILD
index 6bf0df2f1..aba4638d0 100644
--- a/community/kovpn/PKGBUILD
+++ b/community/kovpn/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 9444 2010-01-25 14:13:42Z spupykin $
+# $Id: PKGBUILD 58772 2011-11-18 14:01:32Z 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
+pkgrel=5
pkgdesc="An OpenVPN client management interface for KDE"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kde-apps.org/content/show.php?content=37043"
@@ -14,27 +14,26 @@ 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')
+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'
- 'bf6218bf2686b6fe41874d5df4e71d63')
+ '21171b74f76289daea1cc61eedaa4dba')
build() {
- cd $startdir/src/$pkgname-$_pkgver
+ 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
-
- [ "$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
+ make
+ make prefix=$pkgdir/usr install
}