summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-electronics/eagle/eagle-7.3.0-r1.ebuild4
-rw-r--r--sci-electronics/eagle/eagle-7.7.0-r1.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sci-electronics/eagle/eagle-7.3.0-r1.ebuild b/sci-electronics/eagle/eagle-7.3.0-r1.ebuild
index 1525e2d013d2..a814f7ecec99 100644
--- a/sci-electronics/eagle/eagle-7.3.0-r1.ebuild
+++ b/sci-electronics/eagle/eagle-7.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -113,7 +113,7 @@ src_install() {
# Create desktop entry
newicon bin/${PN}icon50.png ${PF}-icon50.png
- make_desktop_entry "${ROOT}/opt/bin/eagle" "CadSoft EAGLE Layout Editor" ${PF}-icon50 "Graphics;Electronics"
+ make_desktop_entry "${EPREFIX}/opt/bin/eagle" "CadSoft EAGLE Layout Editor" ${PF}-icon50 "Graphics;Electronics"
}
pkg_postinst() {
diff --git a/sci-electronics/eagle/eagle-7.7.0-r1.ebuild b/sci-electronics/eagle/eagle-7.7.0-r1.ebuild
index 0471e5ea1037..f723b0377c57 100644
--- a/sci-electronics/eagle/eagle-7.7.0-r1.ebuild
+++ b/sci-electronics/eagle/eagle-7.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -113,7 +113,7 @@ src_install() {
# Create desktop entry
newicon bin/${PN}icon50.png ${PF}-icon50.png
- make_desktop_entry "${ROOT}/opt/bin/eagle" "CadSoft EAGLE Layout Editor" ${PF}-icon50 "Graphics;Electronics"
+ make_desktop_entry "${EPREFIX}/opt/bin/eagle" "CadSoft EAGLE Layout Editor" ${PF}-icon50 "Graphics;Electronics"
}
pkg_postinst() {