Commits

Kaleb Elwert committed 31a61ec

added sublime text

Comments (0)

Files changed (2)

app-editors/sublime-text/Manifest

+DIST Sublime%20Text%202%20Build%202181%20x64.tar.bz2 5595692 RMD160 b2957533cb4e8a854db3095a23621d4715d5586d SHA1 5232de99c0b84782d53659360c8bac8340b5c218 SHA256 7b15a641efcdc5ec39b519b56076c8dc5a24b0edc3bdc7ce1ecc0b116a5e3916
+DIST Sublime%20Text%202%20Build%202181.tar.bz2 5528787 RMD160 9cfebbd9ea0ee168fb33356f4a4acddf52f73e0e SHA1 dceac4587fb6e2c196e5f4c017ef3dc7f9a33aef SHA256 a591d30211b4d61ffc0498c0457c83ec31178b74a38e9228e89112c3b86cb09f
+EBUILD sublime-text-2181.ebuild 1015 RMD160 87993f955ef430fb9ba66dc222655cc7a219b87b SHA1 f50ba0d8f637d7618342b608fea81fe0974bfd09 SHA256 bf552b6723ddd588a40edb58ad54ac80091588d86460b411ef335abbdf386aa8

app-editors/sublime-text/sublime-text-2181.ebuild

+# 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_PN="Sublime%20Text%202%20Build"
+MY_P="${MY_PN}%20${PV}"
+S="${WORKDIR}/Sublime Text 2"
+
+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=""
+RESTRICT="mirror"
+
+RDEPEND="media-libs/libpng:1.2
+	>=x11-libs/gtk+-2.24.8-r1:2"
+
+src_install() {
+	insinto /opt/${PN}
+	into /opt/${PN}
+	exeinto /opt/${PN}
+	doins -r "lib"
+	doins -r "Pristine Packages"
+	doins "sublime_plugin.py"
+	doins "PackageSetup.py"
+	doexe "sublime_text"
+	dosym "/opt/${PN}/sublime_text" /usr/bin/subl
+	make_desktop_entry "subl" "Sublime Text Editor" "accessories-text-editor" "Application;TextEditor"
+}