summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Hoffman2019-12-27 02:23:09 -0700
committerZach Hoffman2019-12-27 02:23:09 -0700
commitcd9e26027be71ec2c6566475f84ea3c67f7e4955 (patch)
tree28d34d421c9d20076a2520aafb0781df34dd1f3a
parente1e4f644a0b09dd79e645c7594aa56c586a11106 (diff)
downloadaur-cd9e26027be71ec2c6566475f84ea3c67f7e4955.tar.gz
Symlink Qt platform plugins
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD19
2 files changed, 12 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3853ea0e689..4d35c8ccae8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = f5vpn
pkgdesc = F5 VPN helper application for use with a browser for F5Networks BIG-IP APM 13.0
pkgver = 7171.2018.0808.1
- pkgrel = 1
+ pkgrel = 2
arch = x86_64
license = commercial
depends = icu
diff --git a/PKGBUILD b/PKGBUILD
index 9610a69832b..e13b8655936 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Zach Hoffman <zach@zrhoffman.net>
pkgname=f5vpn
pkgver=7171.2018.0808.1
-pkgrel=1
+pkgrel=2
pkgdesc='F5 VPN helper application for use with a browser for F5Networks BIG-IP APM 13.0'
arch=('x86_64')
source=("https://it.emory.edu/vpntools/linux_f5vpn.x86_64.rpm"
@@ -20,15 +20,18 @@ package() {
install -Dm644 "com.f5.${pkgname}.desktop" "${pkgdir}/usr/share/applications/com.f5.${pkgname}.desktop"
install -dm755 "${pkgdir}/usr/bin/"
for executable in $pkgname svpn tunnelserver; do
- ln -s "/opt/f5/vpn/$executable" "${pkgdir}"/usr/bin/${executable}
+ ln -s "/opt/f5/vpn/${executable}" "${pkgdir}"/usr/bin/${executable}
+ done
+
+ for library in lib/*.so.*; do
+ ln -sf "/usr/${library%%.so.*}.so" "$library"
+ done
+
+ for plugin in platforms/*.so; do
+ ln -sf "/usr/lib/qt/plugins/${plugin}" "$plugin"
done
- (
- cd lib
- for library in *.so.*; do
- ln -sf "/usr/lib/${library%%.so.*}.so" "$library"
- done
- )
)
install -Dm644 'license.txt' "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
cp -a opt "${pkgdir}"
+
}