Skip to content

Commit

Permalink
Merge pull request #1767 from mariux64/update-atom-144
Browse files Browse the repository at this point in the history
atom: update from 1.38.1 to 1.44.0
  • Loading branch information
wwwutz authored Mar 10, 2020
2 parents eafb411 + 3a70479 commit 7832f24
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions atom.be0
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/usr/bin/env beesh

# BEE_VERSION atom-1.38.1-2
# BEE_VERSION atom-1.44.0-0

#SRCURL[0]="https://github.com/atom/atom/archive/v${PKGVERSION}.tar.gz atom-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/c73b6bc30c7c38b5cfc3601c02391c57/atom-1.38.1.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/e0060f63ac463d0d0f3440afae78f712/atom-1.44.0.tar.gz"

# PATCHURL+=()
PATCHURL+=(/src/mariux/patches/atom-install-dep-verbose.patch)
PATCHURL+=(/src/mariux/patches/atom-script-lib-install-apm-unsafe-perm.patch)

build_in_sourcedir

Expand All @@ -27,23 +28,24 @@ mee_build() {
# some scripts in their stupid build system do strange things
# when they see SUDO environment

. /package/pkg/node-10.16.0-0/profile
. $(python2-config --prefix)/profile

. /package/node/profile

mkdir -vp ${D}${DATADIR}/applications
mkdir -vp ${D}${DATADIR}/icons/hicolor
mkdir -p ${D}${DATADIR}/applications
mkdir -p ${D}${DATADIR}/icons/hicolor
unset SUDO_USER SUDO_UID SUDO_COMMAND SUDO_GID

XDG_DATA_DIRS=${D}${DATADIR} \
HOME=${S} \
script/build \
--install ${D}${PREFIX}
--install ${D}${PREFIX} \
--loglevel=verbose
}

mee_install() {
sed "s%${D}%%" -i ${D}${DATADIR}/applications/atom.desktop
}

mee_install_post() {
start_cmd rm -rf ${D}${DATADIR}/atom/resources/app/apm/node_modules/git-utils/deps/libgit2/tests
rm -rf ${D}${DATADIR}/atom/resources/app/apm/node_modules/git-utils/deps/libgit2/tests
}

0 comments on commit 7832f24

Please sign in to comment.