Permalink
Cannot retrieve contributors at this time
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?
bee-files/sublime_merge.be0
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
51 lines (37 sloc)
1.28 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env beesh | |
# BEE_VERSION sublime_merge-2.0.71-1 | |
# https://www.sublimemerge.com/ | |
#SRCURL[0]="https://download.sublimetext.com/sublime_merge_build_2071_x64.tar.xz" | |
SRCURL[0]="https://beehive.molgen.mpg.de/75677ca66676f1c1b42d4a80a443ea79/sublime_merge_build_2071_x64.tar.xz" | |
#SRCURL[1]="/src/mariux/patches/sublime_merge.desktop-2056 sublime_merge.desktop" | |
SRCURL[1]="https://beehive.molgen.mpg.de/7bccb4efd9d43a34fdf65cd51cc652ce/sublime_merge.desktop-2056 sublime_merge.desktop" | |
# PATCHURL+=() | |
build_in_sourcedir | |
# sourcesubdir_append src | |
#mee_extract() { | |
# bee_extract "${@}" | |
#} | |
mee_extract() { | |
tar xof ${1} -C ${S} --strip-components 1 | |
} | |
#mee_patch() { | |
# bee_patch "${@}" | |
#} | |
#mee_configure() { | |
# bee_configure "${@}" | |
#} | |
#mee_build() { | |
# bee_build | |
#} | |
mee_install() { | |
DD=${D}/usr/local/sublime_merge | |
mkdir -p ${D}${BINDIR} | |
ln -s /usr/local/sublime_merge/sublime_merge ${D}${BINDIR}/sublime_merge | |
mkdir -p ${DD} | |
desktop-file-install --dir ${D}${DATADIR}/applications ${F}/sublime_merge.desktop | |
for size in 16x16 32x32 48x48 128x128 256x256 ; do | |
install -v -D -m 644 ${S}/Icon/${size}/sublime-merge.png ${D}${DATADIR}/icons/hicolor/${size}/apps/sublime-merge.png | |
done | |
cp -vr ${S}/. ${DD} | |
rm -rf ${DD}/{sublime_merge.desktop,Icon} | |
} |