diff options
author | Jeffrey Lin <jeffrey@icurse.nl> | 2020-06-28 00:03:22 -0400 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2020-07-04 17:18:32 +0300 |
commit | f95a81542a0af9238d8d947c8f3207d220551738 (patch) | |
tree | f8a53213ded2f757b043c3dbc1c9e2d9f16f4bc9 /sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild | |
parent | sci-mathematics/mathematica: add doc USE flag (diff) | |
download | gentoo-f95a81542a0af9238d8d947c8f3207d220551738.tar.gz gentoo-f95a81542a0af9238d8d947c8f3207d220551738.tar.bz2 gentoo-f95a81542a0af9238d8d947c8f3207d220551738.zip |
sci-mathematics/mathematica: remove Windows/MacOS-specific files
This saves about 10MB, not a significant amount.
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl>
Closes: https://github.com/gentoo/gentoo/pull/16463
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild')
-rw-r--r-- | sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild index d5e4aec9ca12..6abf0f35a7dd 100644 --- a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild +++ b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild @@ -42,6 +42,10 @@ src_unpack() { src_install() { local ARCH='-x86-64' + einfo 'Removing MacOS- and Windows-specific files' + find AddOns SystemFiles -type d -\( -name Windows -o -name Windows-x86-64 \ + -o -name MacOSX -o -name MacOSX-x86-64 -\) -delete + if ! use doc; then einfo "Removing documentation" rm -r "${S}/${M_TARGET}/Documentation" |