From 75ce6d8c657af3bd5ac1e708c7bc8a5e4afff4f3 Mon Sep 17 00:00:00 2001 From: layman Date: Sun, 5 May 2013 22:23:09 +0200 Subject: [PATCH] Added sublime text editor --- app-text/sublime-text-bin/Manifest | 3 ++ .../sublime-text-bin-2.0.1.ebuild | 37 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 app-text/sublime-text-bin/Manifest create mode 100644 app-text/sublime-text-bin/sublime-text-bin-2.0.1.ebuild diff --git a/app-text/sublime-text-bin/Manifest b/app-text/sublime-text-bin/Manifest new file mode 100644 index 0000000..4a6ac97 --- /dev/null +++ b/app-text/sublime-text-bin/Manifest @@ -0,0 +1,3 @@ +DIST Sublime%20Text%202.0.1%20x64.tar.bz2 5664664 SHA256 858df93325334b7c7ed75daac26c45107e0c7cd194d522b42a6ac69fae6de404 SHA512 d079040e1801a1e288f4dbc079ece850c54f5c71a92809bbfc8718a1cab7414dc8f3ac82ce5db1647c97317001ec9151223f70b5c942ed4dc550d26b778089b5 WHIRLPOOL 5add3f473ba0def312e6cad300c7529e654554ed539782fbf3de66fc31c612537312715cb5e70695293b8d3c727438fe09ea7f73039fc1dfb92b71e720294b0a +DIST Sublime%20Text%202.0.1.tar.bz2 5587508 SHA256 4e752da357fbaf41b74e45e2caaea5c07813216c273b6f8770abd5621daddbf4 SHA512 7d64e97a24477bf10c7cda2803917975d2d982fe4e0a6b2c7b0ffb17c82b4c7c11044db0ff8bb5e919478a985041dc16827bd44ee996ef0bf6db318ec4562546 WHIRLPOOL 2f12aecadc647e4312a1417bfc589f7b31eed51576c3e1eb1d294c20907e0005b30a46497aa42c9b3ba26395c40d146452a6fd2fc0454ee634e92bf4217743e3 +EBUILD sublime-text-bin-2.0.1.ebuild 1055 SHA256 37904997987b45f98ef869a12a5267daca8d36b3bd80e16949967b1129879a66 SHA512 930f7391a29cbe0288d7cf8a7c9a565a77ac1da6cb48d7f13bf859eb3b0f927c05d6e6b46e43ef104252058df6e9e104cc1ecb588256f4c63e49a3244bd905fe WHIRLPOOL 48474da9599c8f22dd53953a954190f3c29628b1fa63ae11129b5372652fe37b475d9e9bccbf0c1e793a9ab2bf109e48f21369e40b7ea1171a373a115ed0ac4f diff --git a/app-text/sublime-text-bin/sublime-text-bin-2.0.1.ebuild b/app-text/sublime-text-bin/sublime-text-bin-2.0.1.ebuild new file mode 100644 index 0000000..376ea8b --- /dev/null +++ b/app-text/sublime-text-bin/sublime-text-bin-2.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils + +MY_PN="Sublime%20Text%20" +MY_P="${MY_PN}${PV}" + +DESCRIPTION="Sublime Text is a sophisticated text editor for code, html and prose" +HOMEPAGE="http://www.sublimetext.com" +COMMON_URI="http://c758482.r82.cf2.rackcdn.com" +SRC_URI="amd64? ( ${COMMON_URI}/${MY_P}%20x64.tar.bz2 ) + x86? ( ${COMMON_URI}/${MY_P}.tar.bz2 )" +LICENSE="Sublime" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/libpng:0 + >=x11-libs/gtk+-2.24.8-r1:2" +DEPEND="${RDEPEND}" + +src_install() { + insinto /opt/${PN} + into /opt/${PN} + exeinto /opt/${PN} + doins -r "Sublime Text 2/lib" + doins -r "Sublime Text 2/Pristine Packages" + doins "Sublime Text 2/sublime_plugin.py" + doins "Sublime Text 2/PackageSetup.py" + doexe "Sublime Text 2/sublime_text" + dosym "/opt/${PN}/sublime_text" /usr/bin/subl + make_desktop_entry "subl %U" "Sublime Text Editor" "accessories-text-editor" "Application;TextEditor" "MimeType=text/plain;" +}