1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Felix Yan <felixonmars@archlinux.org>
9 pkgdesc='Open client for Cisco AnyConnect VPN'
10 url='https://www.infradead.org/openconnect/'
13 depends=('libxml2' 'gnutls' 'libproxy' 'vpnc' 'krb5' 'lz4' 'pcsclite'
14 'stoken' 'tpm2-tss' 'oath-toolkit' 'libproxy' 'libp11-kit'
16 libstoken.so libtss2-esys.so libtss2-mu.so libtss2-tctildr.so
17 libxml2.so libproxy.so libhogweed.so libp11-kit.so libpskc.so
18 libgssapi_krb5.so libpcsclite.so)
19 makedepends=('intltool' 'python')
20 checkdepends=('python-flask')
21 optdepends=('python: tncc-wrapper')
22 provides=('libopenconnect.so')
23 options=('!emptydirs' 'debug')
24 source=(https://www.infradead.org/openconnect/download/openconnect-${pkgver}.tar.gz{,.asc})
25 sha256sums=('b3d7faf830e9793299d6a41e81d84cd4a3e2789c148c9e598e4585010090e4c7'
27 validpgpkeys=('BE07D9FD54809AB2C4B0FF5F63762CDA67E2F359') # David Woodhouse <dwmw2@infradead.org>
30 cd ${pkgname}-${pkgver}
31 PYTHON=/usr/bin/python \
35 --libexecdir=/usr/lib \
37 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
42 cd ${pkgname}-${pkgver}
47 cd ${pkgname}-${pkgver}
48 make DESTDIR="${pkgdir}" install