Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 46 lines (34 sloc) 1.19 KB
#!/usr/bin/env beesh
# BEE_VERSION sublime_text-4.4169-0
# https://www.sublimetext.com/
SRCURL[0]="https://download.sublimetext.com/sublime_text_build_4169_x64.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/f0ed9c14a64dab344ec56d62675cc036/sublime_text_build_4169_x64.tar.xz"
# fix /opt/sublime_text/ to /usr/bin/ in desktop file
PATCHURL+=("https://beehive.molgen.mpg.de/6db9a1940991eae8271081e73e767294/sublime_text-fixpath-desktop.patch")
build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
#mee_configure() {
# bee_configure "${@}"
#}
#mee_build() {
# bee_build
#}
mee_install() {
DD=${D}/usr/local/sublime_text
mkdir -p ${D}${BINDIR}
ln -s /usr/local/sublime_text/sublime_text ${D}${BINDIR}/sublime_text
ln -s sublime_text ${D}${BINDIR}/subl
mkdir -p ${DD}
desktop-file-install --dir ${D}${DATADIR}/applications ${S}/sublime_text.desktop
for size in 16x16 32x32 48x48 128x128 256x256 ; do
install -v -D -m 644 ${S}/Icon/${size}/sublime-text.png ${D}${DATADIR}/icons/hicolor/${size}/apps/sublime-text.png
done
cp -vr ${S}/. ${DD}
rm -rf ${DD}/sublime_text.desktop
}