summaryrefslogtreecommitdiff
path: root/development/atom
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2014-05-27 08:14:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 23:45:40 +0700
commit3dc59d78164d40505683515bcc4cc67286fe1a9d (patch)
tree3ef3b85ef75c495acefc1d81e536b6e8ac00a5d8 /development/atom
parent2d9ffc495ffc53552c9d9591ee435fc41b984bbf (diff)
downloadslackbuilds-3dc59d78164d40505683515bcc4cc67286fe1a9d.tar.gz
development/atom: Updated for version 0.99.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/atom')
-rw-r--r--development/atom/atom.SlackBuild8
-rw-r--r--development/atom/atom.info6
-rw-r--r--development/atom/customBuild.diff24
3 files changed, 19 insertions, 19 deletions
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild
index d86809d9d8..025ca532cc 100644
--- a/development/atom/atom.SlackBuild
+++ b/development/atom/atom.SlackBuild
@@ -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 .
diff --git a/development/atom/atom.info b/development/atom/atom.info
index cd0b8e6e86..427278759d 100644
--- a/development/atom/atom.info
+++ b/development/atom/atom.info
@@ -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"
diff --git a/development/atom/customBuild.diff b/development/atom/customBuild.diff
index 52d4a0fd67..82222b73b1 100644
--- a/development/atom/customBuild.diff
+++ b/development/atom/customBuild.diff
@@ -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')