mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/atom: Updated for version 0.208.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4b7a8c40de
commit
d15d0352aa
4 changed files with 14 additions and 28 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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')
|
Loading…
Reference in a new issue