mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 23:57:15 +08:00
25 lines
790 B
Bash
25 lines
790 B
Bash
|
# $Id: PKGBUILD 72305 2010-03-13 22:52:13Z ibiru $
|
||
|
# Maintainer: Ionut Biru <ionut@archlinux.org>
|
||
|
|
||
|
pkgname=openconnect
|
||
|
pkgver=2.22
|
||
|
pkgrel=1
|
||
|
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
|
||
|
}
|