summaryrefslogtreecommitdiff
path: root/extra/openconnect/PKGBUILD
blob: 9bc6d2093cf6d4f441f749a8b08af8432d732a20 (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')
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
}