diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-31 08:52:59 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-31 09:07:59 +0100 |
commit | b1ea7fb609c127ae28294574c3d95861951f2616 (patch) | |
tree | 491039e9b014705607649bfb9751d1b906b1c3a4 /dev-embedded | |
parent | app-i18n/atokx3: Fix AbsoluteSymlink (diff) | |
download | gentoo-b1ea7fb609c127ae28294574c3d95861951f2616.tar.gz gentoo-b1ea7fb609c127ae28294574c3d95861951f2616.tar.bz2 gentoo-b1ea7fb609c127ae28294574c3d95861951f2616.zip |
dev-embedded/arduino: Fix AbsoluteSymlink
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/arduino/arduino-1.8.5-r2.ebuild | 10 | ||||
-rw-r--r-- | dev-embedded/arduino/arduino-1.8.7.ebuild | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/dev-embedded/arduino/arduino-1.8.5-r2.ebuild b/dev-embedded/arduino/arduino-1.8.5-r2.ebuild index f058950e8fcf..e958a4d41910 100644 --- a/dev-embedded/arduino/arduino-1.8.5-r2.ebuild +++ b/dev-embedded/arduino/arduino-1.8.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -134,9 +134,9 @@ src_install() { # In upstream's build process, we copy these fiels below from the bundled arduino-builder. # Here we do the same thing, but from the system arduino-builder. - dosym "${EPREFIX}/usr/share/arduino-builder/platform.txt" "${SHARE}/hardware/platform.txt" - dosym "${EPREFIX}/usr/share/arduino-builder/platform.keys.rewrite.txt" "${SHARE}/hardware/platform.keys.rewrite.txt" - dosym "${EPREFIX}/usr/bin/arduino-builder" "${SHARE}/arduino-builder" + dosym "../../arduino-builder/platform.txt" "${SHARE}/hardware/platform.txt" + dosym "../../arduino-builder/platform.keys.rewrite.txt" "${SHARE}/hardware/platform.keys.rewrite.txt" + dosym "../../../bin/arduino-builder" "${SHARE}/arduino-builder" # hardware/tools/avr needs to exist or arduino-builder will # complain about missing required -tools arg @@ -147,7 +147,7 @@ src_install() { einstalldocs # arduino expects its doc in its "main" directory. symlink it. - dosym "${EPREFIX}/usr/share/doc/${PF}/html/reference" "${SHARE}/reference" + dosym "../doc/${PF}/html/reference" "${SHARE}/reference" fi # Install menu and icons diff --git a/dev-embedded/arduino/arduino-1.8.7.ebuild b/dev-embedded/arduino/arduino-1.8.7.ebuild index 6a1c9a5f0555..8872bdc6b90c 100644 --- a/dev-embedded/arduino/arduino-1.8.7.ebuild +++ b/dev-embedded/arduino/arduino-1.8.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -111,9 +111,9 @@ src_install() { # In upstream's build process, we copy these fiels below from the bundled arduino-builder. # Here we do the same thing, but from the system arduino-builder. - dosym "${EPREFIX}/usr/share/arduino-builder/platform.txt" "/usr/share/${PN}/hardware/platform.txt" - dosym "${EPREFIX}/usr/share/arduino-builder/platform.keys.rewrite.txt" "/usr/share/${PN}/hardware/platform.keys.rewrite.txt" - dosym "${EPREFIX}/usr/bin/arduino-builder" "/usr/share/${PN}/arduino-builder" + dosym "../../arduino-builder/platform.txt" "/usr/share/${PN}/hardware/platform.txt" + dosym "../../arduino-builder/platform.keys.rewrite.txt" "/usr/share/${PN}/hardware/platform.keys.rewrite.txt" + dosym "../../../bin/arduino-builder" "/usr/share/${PN}/arduino-builder" # hardware/tools/avr needs to exist or arduino-builder will # complain about missing required -tools arg @@ -124,7 +124,7 @@ src_install() { einstalldocs # arduino expects its doc in its "main" directory. symlink it. - dosym "${EPREFIX}/usr/share/doc/${PF}/html/reference" "/usr/share/${PN}/reference" + dosym "../doc/${PF}/html/reference" "/usr/share/${PN}/reference" fi # Install menu and icons |