diff --git a/atom.be0 b/atom.be0 index cea613ea4..219080005 100755 --- a/atom.be0 +++ b/atom.be0 @@ -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.) @@ -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. @@ -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 <${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}"'