diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/kovpn | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/kovpn')
-rw-r--r-- | community/kovpn/ChangeLog | 2 | ||||
-rw-r--r-- | community/kovpn/PKGBUILD | 43 | ||||
-rw-r--r-- | community/kovpn/kovpn.install | 12 |
3 files changed, 57 insertions, 0 deletions
diff --git a/community/kovpn/ChangeLog b/community/kovpn/ChangeLog new file mode 100644 index 000000000..d8e35c402 --- /dev/null +++ b/community/kovpn/ChangeLog @@ -0,0 +1,2 @@ +2007-06-25 Georg Grabler (STiAT) <ggrabler@gmail.com> +* Added libtool option diff --git a/community/kovpn/PKGBUILD b/community/kovpn/PKGBUILD new file mode 100644 index 000000000..ddf9128d6 --- /dev/null +++ b/community/kovpn/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 90051 2013-05-06 19:38:01Z foutrelis $ +# 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=7 +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 + export QTDIR=/usr + export QMAKESPEC=/usr/share/qt3/mkspecs/linux-g++ + + patch -Np1 -i ../kovpn-disable-dcop.patch + sed -i "s#automake\*1.10\*#automake*`pacman -Q automake | cut -f2 -d\ |cut -f1-2 -d.`*#" admin/cvs.sh + sed -i 's#AM_CONFIG_HEADER#AC_CONFIG_HEADER#g' admin/{cvs.sh,configure.in.min} + make -f admin/Makefile.common cvs + ./configure --prefix=/opt/kde --without-arts --with-qt-dir=/opt/qt + make +} + +package() { + cd $srcdir/$pkgname-$_pkgver + make prefix=$pkgdir/usr install +} diff --git a/community/kovpn/kovpn.install b/community/kovpn/kovpn.install new file mode 100644 index 000000000..b4ee8556f --- /dev/null +++ b/community/kovpn/kovpn.install @@ -0,0 +1,12 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} + |