blob: 4b3eb06b045fb09fd86c9a772b9d44d52f60c7e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Keinv Yue <k3vinyue@gmail.com>
_pkgname_prefix=globalprotect-openconnect
pkgname="${_pkgname_prefix}-git"
pkgver="2.3.9"
pkgrel=1
pkgdesc="A GUI for GlobalProtect VPN, based on OpenConnect, supports the SSO authentication method."
arch=(x86_64 aarch64)
url="https://github.com/yuezk/GlobalProtect-openconnect"
license=('GPL3')
depends=('openconnect>=8.20' webkit2gtk libappindicator-gtk3 libayatana-appindicator libsecret libxml2)
optdepends=('wmctrl: for window management')
conflicts=('globalprotect-openconnect')
provides=('globalprotect-openconnect' 'gpclient' 'gpservice' 'gpauth' 'gpgui')
install=gp.install
source_x86_64=("https://github.com/yuezk/GlobalProtect-openconnect/releases/download/v${pkgver}/globalprotect-openconnect_${pkgver}_x86_64.bin.tar.xz")
source_aarch64=("https://github.com/yuezk/GlobalProtect-openconnect/releases/download/v${pkgver}/globalprotect-openconnect_${pkgver}_aarch64.bin.tar.xz")
sha256sums_x86_64=("117c41f82867907b583fcbd18c1052d3900b642096450f56b35768df896ad77b")
sha256sums_aarch64=("82a86eeac11b1ce13cbfc683522174135760285f7d365c69ba6bae46ce868901")
options=('!strip')
package() {
cd "${_pkgname_prefix}_${pkgver}"
make DESTDIR="${pkgdir}" install
# Remove GPGUI from the package, it will be downloaded at the runtime
rm -f "${pkgdir}/usr/bin/gpgui"
}
|