summaryrefslogtreecommitdiff
path: root/extra/openconnect/PKGBUILD
blob: 9ca5629ae0c99ec9b2ee477574e49a68b9d75db2 (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
# $Id: PKGBUILD 206436 2014-02-26 06:36:35Z bpiotrowski $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=openconnect
pkgver=5.03
pkgrel=1
epoch=1
pkgdesc="Open client for Cisco AnyConnect VPN"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.infradead.org/openconnect.html"
depends=('libxml2' 'gnutls' 'libproxy' 'vpnc')
makedepends=('intltool' 'python2')
options=('!emptydirs')
source=(ftp://ftp.infradead.org/pub/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('ff43ed1dbaccd2537fd7c5bfb04295a6')

build() {
  cd $pkgname-$pkgver
  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
      --sbindir=/usr/bin \
      --disable-static
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}