summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDIEGO CORDON URBIOLA2020-12-16 21:43:45 +0100
committerDIEGO CORDON URBIOLA2020-12-16 21:43:45 +0100
commit2c60ff5bb91336972daa9888c6bcf5ba4945f8fb (patch)
tree2eefa08c06005e60c67c35066a25449959e6df83 /PKGBUILD
downloadaur-2c60ff5bb91336972daa9888c6bcf5ba4945f8fb.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c622cc56989
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: dcordonu
+
+pkgname=connect-tunnel
+pkgver=12.40.00513
+pkgrel=1
+pkgdesc="SonicWALL Connect Tunnel VPN Client"
+arch=('x86_64')
+url="https://www.sonicwall.com/products/remote-access/vpn-clients/"
+makedepends=('tar')
+license=('custom')
+source=(
+ "ConnectTunnel_Linux64-${pkgver}.tar::https://software.sonicwall.com/CT-NX-VPN%20Clients/CT-12.4.0/ConnectTunnel_Linux64-${pkgver}.tar"
+ "https://www.sonicwall.com/legal/general-product-agreement"
+)
+md5sums=('f36008a0ecfc2c7f7962c264020a1710' 'SKIP')
+DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u")
+
+install=${pkgname}.install
+
+prepare() {
+ tar -xf ConnectTunnel-Linux64-${pkgver}.tar.bz2
+}
+
+package() {
+ mkdir -p ${pkgdir}/usr/local/Aventail/man
+ mkdir ${pkgdir}/usr/local/Aventail/nui
+
+ install -Dm 644 general-product-agreement ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -Dm 644 version ${pkgdir}/usr/local/Aventail/version
+
+ cd usr/local/Aventail
+
+ install -Dm 644 man/ct.5 ${pkgdir}/usr/local/Aventail/man/ct.5
+ install -Dm 755 startct.sh ${pkgdir}/usr/local/Aventail/startct.sh
+ install -Dm 755 startctui.sh ${pkgdir}/usr/local/Aventail/startctui.sh
+ install -Dm 644 nui/nui.jar ${pkgdir}/usr/local/Aventail/nui/nui.jar
+ install -Dm 4755 AvConnect ${pkgdir}/usr/local/Aventail/AvConnect
+ install -Dm 644 install-sem.sh ${pkgdir}/usr/local/Aventail/install-sem.sh
+ install -Dm 644 run-sem.sh ${pkgdir}/usr/local/Aventail/run-sem.sh
+ install -Dm 644 cttel.pl ${pkgdir}/usr/local/Aventail/cttel.pl
+
+ gendesk -n -f --pkgname ${pkgname} --pkgdesc "${pkgdesc}" --name "Connect Tunnel" --exec startctui
+
+ install -Dm644 logo.png ${pkgdir}/usr/share/pixmaps/connect-tunnel.png
+ install -Dm644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
+}