summaryrefslogtreecommitdiff
path: root/extra/openconnect/PKGBUILD
blob: 26817e76d813ac00da66db560a4803410fbe9c35 (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 189941 2013-07-11 19:58:49Z ioni $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

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

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
}