diff options
author | kistlin | 2021-10-23 12:33:44 +0200 |
---|---|---|
committer | kistlin | 2021-10-23 12:33:44 +0200 |
commit | 1eff6da05708d0d83b578671cf4f8208c56ff1ef (patch) | |
tree | 2edde9f6ab1c0466ffd82efba9f14894db9c5e54 | |
parent | 5aa6925e0da6a0858852bb95e8b7c7485f739c25 (diff) | |
download | aur-1eff6da05708d0d83b578671cf4f8208c56ff1ef.tar.gz |
fix the Exec command in the desktop file, to actually be able to launch SecureCRT and SecureFX
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -31,7 +31,10 @@ package() { cp -R "${srcdir}"/${_bundle_name}-${pkgver}/* "${stage_dir}" ln -s /usr/lib/qt/plugins/platforms "${pkgdir}/opt/${pkgname}/${_tarball_base_name}" - + + sed -ie "s+Exec=.*+Exec=env LD_LIBRARY_PATH=/opt/${pkgname}/${_tarball_base_name} /opt/${pkgname}/${_tarball_base_name}/SecureCRT+" ${srcdir}/${_bundle_name}-${pkgver}/SecureCRT.desktop + sed -ie "s+Exec=.*+Exec=env LD_LIBRARY_PATH=/opt/${pkgname}/${_tarball_base_name} /opt/${pkgname}/${_tarball_base_name}/SecureFX+" ${srcdir}/${_bundle_name}-${pkgver}/SecureFX.desktop + mkdir -p ${pkgdir}/usr/share/applications cp -ar ${srcdir}/${_bundle_name}-${pkgver}/SecureCRT.desktop ${pkgdir}/usr/share/applications cp -ar ${srcdir}/${_bundle_name}-${pkgver}/SecureFX.desktop ${pkgdir}/usr/share/applications |