# Maintainer: Levente Polyak # Contributor: Ionut Biru # Contributor: Felix Yan pkgname=openconnect pkgver=9.01 pkgrel=2 epoch=1 pkgdesc='Open client for Cisco AnyConnect VPN' url='https://www.infradead.org/openconnect/' arch=('x86_64') license=('LGPL2.1') depends=('libxml2' 'gnutls' 'libproxy' 'vpnc' 'krb5' 'lz4' 'pcsclite' 'stoken' 'tpm2-tss' 'oath-toolkit' 'libproxy' 'libp11-kit' 'xdg-utils' libstoken.so libtss2-esys.so libtss2-mu.so libtss2-tctildr.so libxml2.so libproxy.so libhogweed.so libp11-kit.so libpskc.so libgssapi_krb5.so libpcsclite.so) makedepends=('intltool' 'python') checkdepends=('python-flask') optdepends=('python: tncc-wrapper') provides=('libopenconnect.so') options=('!emptydirs' 'debug') source=(https://www.infradead.org/openconnect/download/openconnect-${pkgver}.tar.gz{,.asc}) sha256sums=('b3d7faf830e9793299d6a41e81d84cd4a3e2789c148c9e598e4585010090e4c7' 'SKIP') validpgpkeys=('BE07D9FD54809AB2C4B0FF5F63762CDA67E2F359') # David Woodhouse build() { cd ${pkgname}-${pkgver} PYTHON=/usr/bin/python \ ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --libexecdir=/usr/lib \ --disable-static sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } check() { cd ${pkgname}-${pkgver} make check } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install } # vim: ts=2 sw=2 et: