Skip to content

Commit

Permalink
Merge pull request #1012 from mariux64/update-atom-from-1.28.0-to-1.34.0
Browse files Browse the repository at this point in the history
Update atom from 1.28.0 to 1.34.0
  • Loading branch information
pmenzel authored Jan 24, 2019
2 parents 62deba3 + f7cf1dc commit 0cdd7df
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions atom.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION atom-1.29.0-0
# BEE_VERSION atom-1.34.0-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
Expand All @@ -9,7 +9,7 @@
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="https://github.com/atom/atom/archive/v${PKGVERSION}.tar.gz atom-${PKGVERSION}"
SRCURL[0]="https://github.com/atom/atom/archive/v${PKGVERSION}.tar.gz atom-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
Expand Down Expand Up @@ -58,27 +58,19 @@ build_in_sourcedir
#}

mee_build() {

# some scripts in their stupid build system do strange things
# when they see SUDO environment

start_cmd source /package/node/profile

start_cmd mkdir -p ${D}${DATADIR}/applications
start_cmd mkdir -p ${D}${DATADIR}/icons/hicolor
unset SUDO_USER SUDO_UID SUDO_COMMAND SUDO_GID
HOME=${S} start_cmd script/build --install ${D}${PREFIX}
XDG_DATA_DIRS=${D}${DATADIR} HOME=${S} start_cmd script/build --install ${D}${PREFIX}
}

mee_install() {
cat <<EOF >${D}${DATADIR}/applications/atom.desktop
[Desktop Entry]
Name=Atom
Comment=A hackable text editor for the 21st Century.
GenericName=Text Editor
Exec=${DATADIR}/atom/atom %F
Icon=${DATADIR}/atom/atom.png
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;TextEditor;Development;
MimeType=text/plain;
EOF
sed 's%/scratch/local2/bee-schrader/atom/atom-1.34.0-0/image%%' -i ${D}${DATADIR}/applications/atom.desktop
}
## by default this may be 'make install DESTDIR="${D}"'

Expand Down

0 comments on commit 0cdd7df

Please sign in to comment.