Permalink
Browse files

Added new version of sublime text

  • Loading branch information...
1 parent 37723d0 commit 01c7640aecb8875cc260b4af09d29e81b42604b5 @zabuldon committed Jul 16, 2012
Showing with 39 additions and 0 deletions.
  1. +2 −0 app-editors/sublime-text2/Manifest
  2. +37 −0 app-editors/sublime-text2/sublime-text2-2.0.1.ebuild
View
2 app-editors/sublime-text2/Manifest
@@ -1,4 +1,6 @@
DIST Sublime%20Text%202%20Build%202181%20x64.tar.bz2 5595692 SHA256 7b15a641efcdc5ec39b519b56076c8dc5a24b0edc3bdc7ce1ecc0b116a5e3916 SHA512 4d4c9d20f1136d4aba961024bb7f0957b445ec55bab758b781dd6ed7b057350fa028e45c45a2200acee6341068b30f842f7f5026dd24fc19b88898f390c1aafa WHIRLPOOL 05881591b7c631b927b8883b05f54eb1c209eb91000283883658ffc59aa43f01b709cc3c1339755bcddedad4d5224f65a5ed2b0d4820172b22ec488c038ae458
DIST Sublime%20Text%202%20Build%202181.tar.bz2 5528787 SHA256 a591d30211b4d61ffc0498c0457c83ec31178b74a38e9228e89112c3b86cb09f SHA512 6d4c40cb6fc7ddf36f294d8030d1019d6acad9552da0e783b0e84507ae93236fbf46f3bc3d40637236fe4c0bbc4169da6482f2bc09f3974877bd5405e464ca1d WHIRLPOOL 5bdac87991295d35ef12cd9afc3de1996100560855bc9dfa0b9e65f35d6f0b3fbfff7714ac6bb78c5ba850afa882f0eee83c5991376208b496fe1681040b4d63
DIST Sublime%20Text%202.0%20x64.tar.bz2 5663757 SHA256 e9733b4313494f500511ede515c082efcf51ac033c235d0d3dc8d291e41d519d SHA512 7518c4ddeb0f140877af277ed0fb9587b517fa11442f931ffd8894f0021b3a7fd8071953ba610f1abe73651a7ca86eb569949e38c7490d7fdfa87c486a349f0b WHIRLPOOL 4cf649f988c65acac69c23d1c260c51ab50604f6a68351188b15960c1fb565fb5ceafd0e7ef075d1e5498e99c2988947c24071b68b16120913d7307ec3b7d388
+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
DIST Sublime%20Text%202.0.tar.bz2 5585489 SHA256 32c30828fd014fd90ad890919b144cff35b3e964737e1808477973856ca379b8 SHA512 7f0fcdf7e4d8d68b29ededcfbe1b30525fa1312af57fb7b815d827020ec6573ef21057fbda633083f7537df8ed799920ecce9dfdb06d178fea62f621d5f61bbd WHIRLPOOL 0ce0735897086e04a083ffcdad76973b7f574e0f5c3891c3ca226050cb8ed46115f5b824a16045687c05d39b64f958cb47d41c075224202e1981ce0a214b70e4
View
37 app-editors/sublime-text2/sublime-text2-2.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Sublime Text is a sophisticated text editor for code, html and prose"
+HOMEPAGE="http://www.sublimetext.com"
+
+SRC_URI="amd64? ( http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20${PV}%20x64.tar.bz2 )
+ x86? ( http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20${PV}.tar.bz2 )"
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+
+S=${WORKDIR}/"Sublime Text 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"
+ local env_file=07${PN}
+ echo "PATH=/opt/${PN}" > ${env_file}
+ echo "ROOTPATH=/opt/${PN}" >> ${env_file}
+ doenvd ${env_file}
+ make_desktop_entry "sublime_text" "Sublime Text Editor" "accessories-text-editor" "Application;TextEditor"
+}

0 comments on commit 01c7640

Please sign in to comment.