diff options
author | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2024-04-02 17:15:13 +0200 |
---|---|---|
committer | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2024-04-09 15:03:16 +0200 |
commit | 59675e1c7f9bdcc501e8be8ebfc13e3c6ca72029 (patch) | |
tree | 23a5b336dad77ac871a857cf6aa35302961285ad /sci-physics | |
parent | sci-biology/neuroconv: dependency revbump (diff) | |
download | sci-59675e1c7f9bdcc501e8be8ebfc13e3c6ca72029.tar.gz sci-59675e1c7f9bdcc501e8be8ebfc13e3c6ca72029.tar.bz2 sci-59675e1c7f9bdcc501e8be8ebfc13e3c6ca72029.zip |
sci-physics/formcalc: fix chmod cannot access
Closes: https://github.com/gentoo/sci/pull/1264
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/formcalc/formcalc-9.10-r1.ebuild | 9 | ||||
-rw-r--r-- | 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 |