diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-11-25 16:14:32 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-11-25 17:10:40 +0100 |
commit | ce16b0c7816dd71057e0e3e54977fcf4ad0a0b17 (patch) | |
tree | d7fd982c0eb7459a5c14ee82cdb611c2be98da29 /sci-visualization | |
parent | sci-visualization/paraview: cmake-utils -> cmake (diff) | |
download | gentoo-ce16b0c7816dd71057e0e3e54977fcf4ad0a0b17.tar.gz gentoo-ce16b0c7816dd71057e0e3e54977fcf4ad0a0b17.tar.bz2 gentoo-ce16b0c7816dd71057e0e3e54977fcf4ad0a0b17.zip |
sci-visualization/paraview: Fix indendation
Bug: https://bugs.gentoo.org/729348
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/paraview/paraview-5.8.1.ebuild | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild index 3d887b2c0f09..0c330c28fba1 100644 --- a/sci-visualization/paraview/paraview-5.8.1.ebuild +++ b/sci-visualization/paraview/paraview-5.8.1.ebuild @@ -118,7 +118,6 @@ pkg_setup() { } src_prepare() { - # Bug #661812 mkdir -p Plugins/StreamLinesRepresentation/doc || die @@ -229,27 +228,27 @@ src_configure() { src_install() { cmake_src_install - # remove wrapper binaries and put the actual executable in place - for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do - if [ -f "${ED}"/usr/lib/"$i" ]; then - mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die - fi - done + # remove wrapper binaries and put the actual executable in place + for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do + if [ -f "${ED}"/usr/lib/"$i" ]; then + mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die + fi + done - # set up the environment - echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die - doenvd "${T}"/40${PN} + # set up the environment + echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die + doenvd "${T}"/40${PN} - newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png - make_desktop_entry paraview "Paraview" paraview + newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png + make_desktop_entry paraview "Paraview" paraview - use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV} - } + use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV} +} - pkg_postinst() { - xdg_icon_cache_update - } +pkg_postinst() { + xdg_icon_cache_update +} - pkg_postrm() { - xdg_icon_cache_update - } +pkg_postrm() { + xdg_icon_cache_update +} |