summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Iuri Medeiros Cabral2020-09-05 11:35:55 -0300
committerDouglas Iuri Medeiros Cabral2020-09-05 11:35:55 -0300
commitbcd97483c7f566da179a64bff2467e919e7101da (patch)
tree57e7fd9bbdcc884010294acabfbbebb21c8884bd
parent1cc968ccea4ab02bd059684e391d815e5df70f0f (diff)
downloadaur-bcd97483c7f566da179a64bff2467e919e7101da.tar.gz
Updated .SRCINFO
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
-rw-r--r--forticlient-vpn.install14
3 files changed, 14 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6adec0f6b8a5..affc6d53330e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = forticlient-vpn
pkgdesc = Official FortiClient VPN
pkgver = 6.4.0.0851
- pkgrel = 4
+ pkgrel = 5
url = https://forticlient.com/
install = forticlient-vpn.install
arch = x86_64
license = custom:fortinet
provides = fortivpn
+ provides = FortiClient
source = https://filestore.fortinet.com/forticlient/downloads/FortiClientFullVPNInstaller_6.4.0.0851.deb
sha256sums = d229a2f3f13378244058b5b678d25976ba85e5d4c1b247ed2c3c242f6604ed2b
diff --git a/PKGBUILD b/PKGBUILD
index 0a0831588f38..cf00b99309a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
-# Maintainer: Douglas Iuri <diurimc at gmail dot com>
+# Maintainer: Douglas Iuri Medeiros Cabral <diurimc at gmail dot com>
pkgname=forticlient-vpn
pkgver=6.4.0.0851
-pkgrel=4
+pkgrel=5
pkgdesc="Official FortiClient VPN"
arch=("x86_64")
url="https://forticlient.com/"
license=('custom:fortinet')
-provides=(fortivpn)
-install=${pkgname}.install
+provides=('fortivpn' 'FortiClient')
+install='${pkgname}.install'
source=("https://filestore.fortinet.com/forticlient/downloads/FortiClientFullVPNInstaller_${pkgver}.deb")
sha256sums=('d229a2f3f13378244058b5b678d25976ba85e5d4c1b247ed2c3c242f6604ed2b')
diff --git a/forticlient-vpn.install b/forticlient-vpn.install
index a1b01443c9ce..688b29b6970d 100644
--- a/forticlient-vpn.install
+++ b/forticlient-vpn.install
@@ -1,13 +1,15 @@
-post_install () {
+post_install() {
- # Symlink fortivpn binary which is located in /opt
- ln -sf /opt/forticlient/fortivpn /usr/bin/fortivpn
+ # Symlink fortivpn binary which is located in /opt
+ ln -sf /opt/forticlient/fortivpn /usr/bin/fortivpn
+ ln -sf opt/forticlient/gui/FortiClient-linux-x64/FortiClient /usr/bin/FortiClient
}
-post_remove () {
+post_remove() {
- # Remove symlink to fortivpn binary
- rm /usr/bin/fortivpn
+ # Remove symlink to fortivpn binary
+ rm /usr/bin/fortivpn
+ rm /usr/bin/FortiClient
}