summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crandall <triquetra@triquetradevelopment.com>2013-12-17 21:06:15 -0600
committerDavid Crandall <triquetra@triquetradevelopment.com>2013-12-17 21:06:15 -0600
commitd68557abfc782003d4de64a44b80ee570c08a839 (patch)
treec52ccab40118b7cb4d7d62d7ca6d801f5701f964 /app-editors/sublime-text/sublime-text-3_beta3059.ebuild
parentreally added layout.conf and sublime-text-2.0.2.eguilc (diff)
downloadtriquetra-d68557abfc782003d4de64a44b80ee570c08a839.tar.gz
triquetra-d68557abfc782003d4de64a44b80ee570c08a839.tar.bz2
triquetra-d68557abfc782003d4de64a44b80ee570c08a839.zip
added sublime text 3 beta 3059 ebuild
Diffstat (limited to 'app-editors/sublime-text/sublime-text-3_beta3059.ebuild')
-rw-r--r--app-editors/sublime-text/sublime-text-3_beta3059.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/app-editors/sublime-text/sublime-text-3_beta3059.ebuild b/app-editors/sublime-text/sublime-text-3_beta3059.ebuild
new file mode 100644
index 0000000..2026601
--- /dev/null
+++ b/app-editors/sublime-text/sublime-text-3_beta3059.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+# needed by make_desktop_entry
+inherit eutils
+
+MY_PV=${PV: -4}
+MY_PN="sublime_text"
+MY_P="${MY_PN}_3_build_${MY_PV}"
+S="${WORKDIR}/sublime_text_3"
+
+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}_x64.tar.bz2 )
+ x86? ( ${COMMON_URI}/${MY_P}_x32.tar.bz2 )"
+LICENSE="Sublime"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror"
+
+RDEPEND="media-libs/libpng
+ >=x11-libs/gtk+-2.24.8-r1:2"
+
+src_install() {
+ insinto /opt/${PN}
+ into /opt/${PN}
+ exeinto /opt/${PN}
+ doins -r "Packages"
+ doins "sublime_plugin.py"
+ doins "sublime.py"
+ doins "python3.3.zip"
+ doins "changelog.txt"
+ doins "crash_reporter"
+ doins "plugin_host"
+ doexe "sublime_text"
+ dosym "/opt/${PN}/sublime_text" /usr/bin/subl
+ # Icon and .desktop for sublime-text
+ for icon in $(find Icon -name '*.png') ; do
+ insinto /usr/share/`dirname $icon | sed 's/Icon/icons\/hicolor/'`/apps
+ doins $icon
+ done
+ dosym ../icons/hicolor/48x48/apps/sublime_text.png usr/share/pixmaps/sublime_text.png
+ make_desktop_entry "subl %U" "Sublime Text Editor" "accessories-text-editor" "Application;TextEditor;Development" "MimeType=text/plain;"
+}