blob: 7730837b06dcd4e99bc9b8daf3912bbdaf203550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
}
|