mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
38 lines
986 B
Plaintext
38 lines
986 B
Plaintext
# Maintainer: Keinv Yue <[email protected]>
|
|
|
|
_pkgname=@PKG_NAME@
|
|
pkgname=${_pkgname}
|
|
pkgver="@VERSION@"
|
|
pkgrel=@REVISION@
|
|
pkgdesc="A GUI client for GlobalProtect VPN, based on OpenConnect, supports the SSO authentication method."
|
|
arch=('x86_64' 'aarch64')
|
|
url="https://github.com/yuezk/GlobalProtect-openconnect"
|
|
license=('GPL3')
|
|
makedepends=('make' 'pkg-config' 'cargo' 'file')
|
|
depends=('webkit2gtk-4.1' 'libappindicator-gtk3' 'librsvg' 'libsecret' 'openssl' 'appmenu-gtk-module'
|
|
'gnutls' 'libxml2' 'vpnc' 'lz4' 'libp11-kit' 'nettle' 'xdg-utils'
|
|
'openconnect>=8.20')
|
|
optdepends=('wmctrl: for window management')
|
|
|
|
provides=('globalprotect-openconnect' 'gpclient' 'gpservice' 'gpauth' 'gpgui')
|
|
|
|
source=("${_pkgname}-${pkgver}.tar.gz")
|
|
sha256sums=('SKIP')
|
|
|
|
options=('!strip')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
# Must unset the CFLAGS, otherwise the build fails
|
|
unset CFLAGS
|
|
|
|
make build
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
make install DESTDIR="$pkgdir"
|
|
}
|