mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:37:17 +08:00
27 lines
625 B
Bash
27 lines
625 B
Bash
# maintainer: abveritas@chakra-project.org
|
|
|
|
pkgname=openconnect
|
|
pkgver=7.06
|
|
pkgrel=2
|
|
pkgdesc="Open client for Cisco AnyConnect VPN"
|
|
arch=('x86_64')
|
|
license=('LGPL2.1')
|
|
url="http://www.infradead.org/openconnect.html"
|
|
depends=('libxml2' 'gnutls' 'libproxy' 'vpnc')
|
|
makedepends=('intltool' 'python2')
|
|
options=('!emptydirs')
|
|
source=(ftp://ftp.infradead.org/pub/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('80f397911e1fed43d897d99be3d5f1a1')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|