archrelease: copy trunk to extra-x86_64
[arch-packages.git] / openconnect / trunk / PKGBUILD
blob882f84673b984ae0af142de26e801bcb165b9d7a
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Felix Yan <felixonmars@archlinux.org>
5 pkgname=openconnect
6 pkgver=8.10
7 pkgrel=1
8 epoch=1
9 pkgdesc='Open client for Cisco AnyConnect VPN'
10 url='https://www.infradead.org/openconnect/'
11 arch=('x86_64')
12 license=('LGPL2.1')
13 depends=('libxml2' 'gnutls' 'libproxy' 'vpnc' 'krb5' 'lz4' 'pcsclite'
14          'stoken' 'libstoken.so')
15 makedepends=('intltool' 'python')
16 optdepends=('python: tncc-wrapper')
17 provides=('libopenconnect.so')
18 options=('!emptydirs')
19 source=(ftp://ftp.infradead.org/pub/openconnect/openconnect-${pkgver}.tar.gz{,.asc})
20 sha256sums=('30e64c6eca4be47bbf1d61f53dc003c6621213738d4ea7a35e5cf1ac2de9bab1'
21             'SKIP')
22 validpgpkeys=('BE07D9FD54809AB2C4B0FF5F63762CDA67E2F359') # David Woodhouse <dwmw2@infradead.org>
24 build() {
25   cd ${pkgname}-${pkgver}
26   PYTHON=/usr/bin/python \
27     ./configure \
28     --prefix=/usr \
29     --sbindir=/usr/bin \
30     --libexecdir=/usr/lib \
31     --disable-static
32   make
35 check() {
36   cd ${pkgname}-${pkgver}
37   make check
40 package() {
41   cd ${pkgname}-${pkgver}
42   make DESTDIR="${pkgdir}" install
45 # vim: ts=2 sw=2 et: