updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / networkmanager-vpnc-hybrid / PKGBUILD
blob9ea78a7afc66cdb67d8362cb517fe5a2972a1f14
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
7 pkgver=0.8.999
8 pkgrel=1
9 pkgdesc="NetworkManager VPN plugin for vpnc+hybrid"
10 arch=('i686' 'x86_64')
11 license=('GPL')
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')
17 options=('!libtool')
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')
26 build() {
27   cd "${srcdir}/NetworkManager-vpnc-${pkgver}"
28   patch -Np1 -i "${srcdir}/hybrid-auth-props.patch"
29   ./configure --prefix=/usr \
30         --sysconfdir=/etc \
31         --libexecdir=/usr/lib/networkmanager \
32         --disable-static
33   make
36 package() {
37   cd "${srcdir}/NetworkManager-vpnc-${pkgver}"
38   make DESTDIR="${pkgdir}" install