diff options
author | Douglas Iuri Medeiros Cabral | 2020-09-05 20:42:56 -0300 |
---|---|---|
committer | Douglas Iuri Medeiros Cabral | 2020-09-05 20:42:56 -0300 |
commit | c626433b9e0424c3cd83aa3f556ebd8296906c6f (patch) | |
tree | c792c3e2351a8e0c8d14d02f2a59296d204ef20f | |
parent | ec1ffac5cd6a2acdfa27eee94d56a670fefe944c (diff) | |
download | aur-c626433b9e0424c3cd83aa3f556ebd8296906c6f.tar.gz |
PKGBUILD reorganized
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 8 deletions
@@ -1,9 +1,8 @@ pkgbase = forticlient-vpn - pkgdesc = Official FortiClient VPN + pkgdesc = Build throught the official package of FortiClient VPN pkgver = 6.4.0.0851 - pkgrel = 5 + pkgrel = 6 url = https://forticlient.com/ - install = forticlient-vpn.install arch = x86_64 license = custom:fortinet provides = fortivpn @@ -1,21 +1,18 @@ # Maintainer: Douglas Iuri Medeiros Cabral <diurimc at gmail dot com> pkgname=forticlient-vpn pkgver=6.4.0.0851 -pkgrel=5 -pkgdesc="Official FortiClient VPN" +pkgrel=6 +pkgdesc="Build throught the official package of FortiClient VPN" arch=("x86_64") url="https://forticlient.com/" license=('custom:fortinet') provides=('fortivpn' 'FortiClient') -install=${pkgname}.install source=("https://filestore.fortinet.com/forticlient/downloads/FortiClientFullVPNInstaller_${pkgver}.deb") sha256sums=('d229a2f3f13378244058b5b678d25976ba85e5d4c1b247ed2c3c242f6604ed2b') package() { - msg2 "Extracting the data.tar.xz..." - bsdtar -xf data.tar.xz -C "$pkgdir/" install -Dm644 "${pkgdir}/lib/systemd/system/forticlient-scheduler.service" "${pkgdir}/usr/lib/systemd/system/forticlient-scheduler.service" @@ -24,6 +21,10 @@ package() { # Install license install -Dm 644 "${pkgdir}/usr/share/doc/forticlient/copyright" "${pkgdir}/usr/share/licenses/fortinet/LICENSE" + + # Symlink fortivpn binary which is located in /opt + ln -s '/opt/forticlient/fortivpn' "${pkgdir}/usr/bin/fortivpn" + ln -s 'opt/forticlient/gui/FortiClient-linux-x64/FortiClient' "${pkgdir}/usr/bin/FortiClient" } |