aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/atom/README5
-rw-r--r--development/atom/atom.SlackBuild17
-rw-r--r--development/atom/atom.info8
-rw-r--r--development/atom/customBuild.diff12
4 files changed, 14 insertions, 28 deletions
diff --git a/development/atom/README b/development/atom/README
index b65b016b6ba49..e031f1d978338 100644
--- a/development/atom/README
+++ b/development/atom/README
@@ -1,4 +1,4 @@
-Atom is a Chrome-based text editor, hackable and full-featured.
+Atom is a Chorme-based text editor, hackable and full-featured.
Atom comes loaded with the features you've come to expect from
a modern text editor, like a file system browser, fuzzy finder for
@@ -12,6 +12,9 @@ To build Atom is necessary to download about 500MB of data,
which are temporarily stored in ~/.atom, which can be
deleted after building.
+If you are upgrading from 0.138.0 version, you need replace node
+package with iojs.
+
Optional building features:
* Disable compiling metrics module for Google Analytics
for poeple who love your privacy
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild
index 569a3630c2fa0..ac707dbe54f9f 100644
--- a/development/atom/atom.SlackBuild
+++ b/development/atom/atom.SlackBuild
@@ -23,12 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=atom
-VERSION=${VERSION:-0.138.0}
+VERSION=${VERSION:-0.208.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-#Some variables needed for compile tar version
-GITSHA1='8925d309b0f6deeec50b8b0c070d2179af59f825'
-GITBRANCH='master'
#Disable send metrics to Google Analytics module
DISABLE_METRICS=${DISABLE_METRICS:-no}
@@ -88,13 +85,9 @@ echo '*********************************************************************'
mkdir -p destbuild
BUILD_DIR=$PWD/destbuild
- JANKY_SHA1=$GITSHA1 \
- JANKY_BRANCH=$GITBRANCH \
PYTHON=python2 \
./script/build --build-dir=$BUILD_DIR
- JANKY_SHA1=$GITSHA1 \
- JANKY_BRANCH=$GITBRANCH \
PYTHON=python2 \
./script/grunt --build-dir=$BUILD_DIR --install-dir=$PKG/usr install
@@ -110,7 +103,7 @@ cp -a resources/atom.png \
$PKG/usr/share/pixmaps
mkdir -p $PKG/usr/share/applications
sed -e "s#<%= description %>#Hackable text editor#" \
- -e "s#<%= installDir %>.*atom#/usr/bin/atom#" \
+ -e "s#<%= executable %>#/usr/bin/atom#" \
-e "s#<%= iconName %>#atom#" \
resources/linux/atom.desktop.in > \
$PKG/usr/share/applications/atom.desktop
@@ -122,8 +115,10 @@ if [ "$DELETE_CACHE" == "yes" ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar LICENSE.md README.md CONTRIBUTING.md docs $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -ar LICENSE.md README.md CONTRIBUTING.md docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > \
+ $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/development/atom/atom.info b/development/atom/atom.info
index 6de1eaa4b6ef1..76950411e042b 100644
--- a/development/atom/atom.info
+++ b/development/atom/atom.info
@@ -1,10 +1,10 @@
PRGNAM="atom"
-VERSION="0.138.0"
+VERSION="0.208.0"
HOMEPAGE="https://atom.io/"
-DOWNLOAD="https://codeload.github.com/atom/atom/tar.gz/v0.138.0"
-MD5SUM="f2f13177bcfdc104fa7a345b39b422d3"
+DOWNLOAD="https://codeload.github.com/atom/atom/tar.gz/v0.208.0"
+MD5SUM="ca85568b9c2ba7ba28b2bfd9b4511456"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="node"
+REQUIRES="iojs"
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"
diff --git a/development/atom/customBuild.diff b/development/atom/customBuild.diff
deleted file mode 100644
index 82222b73b11f0..0000000000000
--- a/development/atom/customBuild.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-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')