commit: 59675e1c7f9bdcc501e8be8ebfc13e3c6ca72029 Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Tue Apr 2 15:15:13 2024 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Tue Apr 9 13:03:16 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=59675e1c
sci-physics/formcalc: fix chmod cannot access Closes: https://github.com/gentoo/sci/pull/1264 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> sci-physics/formcalc/formcalc-9.10-r1.ebuild | 9 ++------- sci-physics/formcalc/formcalc-9.9-r1.ebuild | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/sci-physics/formcalc/formcalc-9.10-r1.ebuild b/sci-physics/formcalc/formcalc-9.10-r1.ebuild index 6cee48279..cefbd13bf 100644 --- a/sci-physics/formcalc/formcalc-9.10-r1.ebuild +++ b/sci-physics/formcalc/formcalc-9.10-r1.ebuild @@ -36,14 +36,9 @@ src_compile() { src_install() { MMADIR=/usr/share/Mathematica/Applications + # unversioned directory dosym ${MY_P} ${MMADIR}/${MY_PN} - dodir ${MMADIR}/${MY_P} - insinto ${MMADIR} - doins -r "${S}" - # Copy executable, etc. permissions - for f in $(find * ! -type l); do - fperms --reference="${S}/$f" ${MMADIR}/${MY_P}/$f - done + mv "${WORKDIR}/${MY_P}" "${ED}${MMADIR}" || die # switch to system form dosym `command -v form` ${MMADIR}/${MY_P}/Linux-x86-64/form dosym `command -v tform` ${MMADIR}/${MY_P}/Linux-x86-64/tform diff --git a/sci-physics/formcalc/formcalc-9.9-r1.ebuild b/sci-physics/formcalc/formcalc-9.9-r1.ebuild index a5cd57431..6ccb521fb 100644 --- a/sci-physics/formcalc/formcalc-9.9-r1.ebuild +++ b/sci-physics/formcalc/formcalc-9.9-r1.ebuild @@ -38,14 +38,9 @@ src_compile() { src_install() { MMADIR=/usr/share/Mathematica/Applications + # unversioned directory dosym ${MY_P} ${MMADIR}/${MY_PN} - dodir ${MMADIR}/${MY_P} - insinto ${MMADIR} - doins -r "${S}" - # Copy executable, etc. permissions - for f in $(find * ! -type l); do - fperms --reference="${S}/$f" ${MMADIR}/${MY_P}/$f - done + mv "${WORKDIR}/${MY_P}" "${ED}${MMADIR}" || die # switch to system form dosym `command -v form` ${MMADIR}/${MY_P}/Linux-x86-64/form dosym `command -v tform` ${MMADIR}/${MY_P}/Linux-x86-64/tform
