aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick J Taylor <patrick.joseph.taylor@gmail.com>2022-09-11 01:37:19 +0100
committerPatrick J Taylor <patrick.joseph.taylor@gmail.com>2022-09-11 01:37:19 +0100
commitf18a1954b9ed034bb3d4d5fc6e6b0d79725c4e31 (patch)
tree37678dc08c341815f73fd7e87dc222bc493afd7d /sci-chemistry
parentlicenses: add VESTA license (diff)
downloadguru-f18a1954b9ed034bb3d4d5fc6e6b0d79725c4e31.tar.gz
guru-f18a1954b9ed034bb3d4d5fc6e6b0d79725c4e31.tar.bz2
guru-f18a1954b9ed034bb3d4d5fc6e6b0d79725c4e31.zip
sci-chemistry/vesta-bin: fix symlinks and very minor syntax changes
Signed-off-by: Patrick J Taylor <patrick.joseph.taylor@gmail.com>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
index 38cf7d8a9..7969e59ca 100644
--- a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
+++ b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
@@ -28,13 +28,13 @@ RESTRICT="strip"
src_install() {
insinto /opt/VESTA
- doins -r ${S}/*
+ doins -r "${S}"/*
fperms +x /opt/VESTA/VESTA
fperms +x /opt/VESTA/VESTA-gui
- domenu "${FILESDIR}/VESTA.desktop"
- newicon -s 128x128 ${D}/opt/VESTA/img/logo.png VESTA.png
+ domenu "${FILESDIR}"/VESTA.desktop
+ newicon -s 128x128 "${D}"/opt/VESTA/img/logo.png VESTA.png
- dosym /opt/VESTA/libVESTA.so /usr/lib64/libVESTA.so
- dosym /opt/VESTA/VESTA-gui /usr/bin/VESTA
+ dosym -r /opt/VESTA/libVESTA.so /usr/lib64/libVESTA.so
+ dosym "${EPREFIX}"/opt/VESTA/VESTA /usr/bin/VESTA
}