mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 04:54:39 +08:00
25 lines
790 B
Bash
25 lines
790 B
Bash
# $Id: PKGBUILD 75530 2010-04-01 19:03:16Z ibiru $
|
|
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
|
|
|
pkgname=openconnect
|
|
pkgver=2.22
|
|
pkgrel=2
|
|
pkgdesc="Open client for Cisco AnyConnect VPN"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://www.infradead.org/openconnect.html"
|
|
depends=('libxml2' 'openssl')
|
|
makedepends=('gconf' 'gtk2')
|
|
options=('!libtool')
|
|
source=(ftp://ftp.infradead.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
sha256sums=('f1a50880dcde3b104c3d258999a48e6e7a01425f3ba618a91a9c86e15868a8f3')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
sed -i "s|/usr/libexec|/usr/lib/networkmanager|" Makefile || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
install -Dm0644 openconnect.8 "${pkgdir}"/usr/share/man/man8/openconnect.8 || return 1
|
|
}
|