mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/atom: Updated for version 0.99.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2d9ffc495f
commit
3dc59d7816
3 changed files with 19 additions and 19 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for atom
|
||||
|
||||
# Copyright 2013 Dhaby Xiloj <slack.dhabyx@gmail.com>
|
||||
# Copyright 2013-2014 Dhaby Xiloj <slack.dhabyx@gmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,11 +23,11 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=atom
|
||||
VERSION=0.94.0
|
||||
VERSION=${VERSION:-0.99.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
#Some variables needed for compile tar version
|
||||
GITSHA1='806ff4e141f0eb3cf7e9e829f562915fc7f732ed'
|
||||
GITSHA1='ea0773e8fcc42ab83820f4edf9b58e406514d035'
|
||||
GITBRANCH='master'
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -62,7 +62,7 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM-$VERSION $PRGNAM-build
|
||||
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="atom"
|
||||
VERSION="0.94.0"
|
||||
VERSION="0.99.0"
|
||||
HOMEPAGE="https://atom.io/"
|
||||
DOWNLOAD="https://codeload.github.com/atom/atom/tar.gz/v0.94.0"
|
||||
MD5SUM="684b7ba65320387f73057f28e93f3ed6"
|
||||
DOWNLOAD="https://codeload.github.com/atom/atom/tar.gz/v0.99.0"
|
||||
MD5SUM="93c85c7afd4882a15d3bbf107a933e1e"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="node"
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
diff -Naur atom-0.94.0/build/Gruntfile.coffee atom-0.94.0.a/build/Gruntfile.coffee
|
||||
--- atom-0.94.0/build/Gruntfile.coffee 2014-05-06 10:56:03.000000000 -0600
|
||||
+++ atom-0.94.0.a/build/Gruntfile.coffee 2014-05-09 18:58:26.226372541 -0600
|
||||
@@ -58,7 +58,7 @@
|
||||
installDir = path.join('/Applications', appName)
|
||||
else
|
||||
appName = 'Atom'
|
||||
- tmpDir = '/tmp'
|
||||
+ tmpDir = process.env.BUILD_DIR ? '/tmp'
|
||||
buildDir = grunt.option('build-dir') ? path.join(tmpDir, 'atom-build')
|
||||
symbolsDir = path.join(buildDir, 'Atom.breakpad.syms')
|
||||
shellAppDir = path.join(buildDir, appName)
|
||||
diff -Naur atom-0.99.0/build/Gruntfile.coffee atom-0.99.0.a/build/Gruntfile.coffee
|
||||
--- atom-0.99.0/build/Gruntfile.coffee 2014-05-23 15:00:33.000000000 -0600
|
||||
+++ atom-0.99.0.a/build/Gruntfile.coffee 2014-05-26 14:12:39.212928087 -0600
|
||||
@@ -36,7 +36,7 @@
|
||||
grunt.log.write = (args...) -> grunt.log
|
||||
|
||||
[major, minor, patch] = packageJson.version.split('.')
|
||||
- tmpDir = os.tmpdir()
|
||||
+ tmpDir = process.env.BUILD_DIR ? os.tmpdir()
|
||||
appName = if process.platform is 'darwin' then 'Atom.app' else 'Atom'
|
||||
buildDir = grunt.option('build-dir') ? path.join(tmpDir, 'atom-build')
|
||||
atomShellDownloadDir = path.join(os.tmpdir(), 'atom-cached-atom-shells')
|
||||
|
|
Loading…
Reference in a new issue