commit: 699095a8152796a4ccaf077d374de6cb535a7dd8
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 09:27:41 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 09:27:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=699095a8
app-editors/atom: use relative path for symlink
also silence QA warning for prebuilt files
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
app-editors/atom/atom-1.55.0.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app-editors/atom/atom-1.55.0.ebuild
b/app-editors/atom/atom-1.55.0.ebuild
index 77036d433..50e2c9233 100644
--- a/app-editors/atom/atom-1.55.0.ebuild
+++ b/app-editors/atom/atom-1.55.0.ebuild
@@ -18,6 +18,8 @@ S="${WORKDIR}/${P}-amd64"
DEPEND="net-print/cups" # Requested by electron
+QA_PREBUILT="/opt/atom/*"
+
src_prepare(){
default
@@ -28,7 +30,7 @@ src_prepare(){
src_install(){
insinto /opt/"${PN}"
doins -r "${S}"/*
- dosym "${EPREFIX}"/opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom
+ dosym ../../opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom
fperms +x /opt/"${PN}"/atom
make_desktop_entry /opt/atom/atom Atom atom Utility
doicon atom.png