summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-07-08 16:52:52 -0700
committerDavid Seifert <soap@gentoo.org>2017-07-08 16:53:34 -0700
commit5970283ca2ec543f24fffb813902eb77e020b083 (patch)
treeac56dd44b198b647fc35e9744051741adbcff6f8 /app-editors/sublime-text
parentsys-devel/clang-runtime: Use https for llvm.org (diff)
downloadgentoo-5970283ca2ec543f24fffb813902eb77e020b083.tar.gz
gentoo-5970283ca2ec543f24fffb813902eb77e020b083.tar.bz2
gentoo-5970283ca2ec543f24fffb813902eb77e020b083.zip
app-editors/sublime-text: Install 'Icon' dir and symlink to it
https://bugs.gentoo.org/show_bug.cgi?id=624298 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-editors/sublime-text')
-rw-r--r--app-editors/sublime-text/sublime-text-3_pre3126-r3.ebuild (renamed from app-editors/sublime-text/sublime-text-3_pre3126-r2.ebuild)5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-editors/sublime-text/sublime-text-3_pre3126-r2.ebuild b/app-editors/sublime-text/sublime-text-3_pre3126-r3.ebuild
index d81372b98397..c8285fe3355d 100644
--- a/app-editors/sublime-text/sublime-text-3_pre3126-r2.ebuild
+++ b/app-editors/sublime-text/sublime-text-3_pre3126-r3.ebuild
@@ -35,7 +35,7 @@ S="${WORKDIR}/sublime_text_${MV}"
src_install() {
insinto /opt/${PN}${MV}
- doins -r Packages
+ doins -r Packages Icon
doins changelog.txt sublime_plugin.py sublime.py python3.3.zip
exeinto /opt/${PN}${MV}
@@ -44,7 +44,8 @@ src_install() {
local size
for size in 32 48 128 256; do
- newicon -s ${size} Icon/${size}x${size}/sublime-text.png subl.png
+ dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \
+ /usr/share/icons/hicolor/${size}x${size}/apps/subl.png
done
make_desktop_entry "subl" "Sublime Text ${MV}" "subl" \