1 # $Id: PKGBUILD 122481 2011-05-04 09:16:50Z ibiru $
2 # Maintainer: Ionut Biru <ibiru@archlinux.org>
3 # Hybrid additions: Reza Jelveh <reza.jelveh at tuhh.de>
4 # based on https://code.launchpad.net/~mathieu-tl/network-manager/vpnc+hybrid
6 pkgname=networkmanager-vpnc-hybrid
9 pkgdesc="NetworkManager VPN plugin for vpnc+hybrid"
10 arch=('i686' 'x86_64')
12 url="http://www.gnome.org/projects/NetworkManager/"
13 depends=("networkmanager>=${pkgver}" 'vpnc' 'hicolor-icon-theme'
14 'gtk3' 'libgnome-keyring')
15 makedepends=('intltool')
16 optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager')
18 conflicts=('networkmanager-vpnc')
19 provides=('networkmanager-vpnc')
20 install=networkmanager-vpnc.install
21 source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-vpnc/0.8/NetworkManager-vpnc-${pkgver}.tar.bz2
22 hybrid-auth-props.patch)
23 sha256sums=('b3802070fb25872c9cc59d82bee27b6f8ec3c3feb36b5fd148a7da2b6371c3f3'
24 '43ef6778d9b15cc2633df0b25847a62ff6469af4817ae4190d0648d786ca2786')
27 cd "${srcdir}/NetworkManager-vpnc-${pkgver}"
28 patch -Np1 -i "${srcdir}/hybrid-auth-props.patch"
29 ./configure --prefix=/usr \
31 --libexecdir=/usr/lib/networkmanager \
37 cd "${srcdir}/NetworkManager-vpnc-${pkgver}"
38 make DESTDIR="${pkgdir}" install