Working app-text/sublime-text-bin ebuild

This commit is contained in:
layman 2013-05-05 22:41:00 +02:00
parent 75ce6d8c65
commit 8f21ea29eb
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +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
EBUILD sublime-text-bin-2.0.1.ebuild 1003 SHA256 5cf10c07fb65b2510c3c91452cc1d8c50778c0862084d470ece2ad2686409c7d SHA512 fd32d2962dc3654b8273fa06e4cca00a96cddd451e492b97a748bbc500a1bc8ac992f29c0a0c32effbb07c1ced36bf53ea382b2ba917095b7477e5e0977818c1 WHIRLPOOL 50cf01bb2a817fbea8fe78dc18ca0bad20092093901ee967ce5c366abf2b03b3d8dc355d7a89dedad587ed8d94010d220f99b1ec0d0a258423475961e42e95f1

View File

@ -23,15 +23,17 @@ RDEPEND="media-libs/libpng:0
>=x11-libs/gtk+-2.24.8-r1:2"
DEPEND="${RDEPEND}"
S="${WORKDIR}/Sublime Text 2"
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"
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 %U" "Sublime Text Editor" "accessories-text-editor" "Application;TextEditor" "MimeType=text/plain;"
}