development/atom: Updated for version 0.138.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
DhabyX 2014-10-18 16:58:23 +07:00 committed by Willy Sudiarto Raharjo
parent eaaeec68fe
commit bdf4f86fe6
3 changed files with 16 additions and 14 deletions

View file

@ -1,13 +1,16 @@
Atom is a Chorme-based text editor, hackable and full-featured.
Atom is a Chrome-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
quickly opening files, fast project-wide search and replace,
snippets, code folding and more.
To build Atom is necessary to download about 500MB of data,
which are temporarily stored in /tmp/atom-cached-atom-shells
and ~/.atom, which can be deleted after building.
The apm tool is renamed to atom-apm for prevent conflicts with
apmd package.
To build Atom is necessary to download about 500MB of data,
which are temporarily stored in ~/.atom, which can be
deleted after building.
Optional building features:
* Disable compiling metrics module for Google Analytics

View file

@ -23,11 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=atom
VERSION=${VERSION:-0.115.0}
VERSION=${VERSION:-0.138.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
#Some variables needed for compile tar version
GITSHA1='cdb5fe15d2c8e8b756cec6fe7ac1b0df528d5d7b'
GITSHA1='8925d309b0f6deeec50b8b0c070d2179af59f825'
GITBRANCH='master'
#Disable send metrics to Google Analytics module
@ -101,8 +101,8 @@ BUILD_DIR=$PWD/destbuild
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# remove apm symlink for prevent conflicts with apmd package.
rm $PKG/usr/bin/apm
# move apm symlink to atom-apm for prevent conflicts with apmd package.
mv $PKG/usr/bin/apm $PKG/usr/bin/atom-apm
# move and configure icon and .desktop file
mkdir -p $PKG/usr/share/pixmaps
@ -112,13 +112,12 @@ mkdir -p $PKG/usr/share/applications
sed -e "s#<%= description %>#Hackable text editor#" \
-e "s#<%= installDir %>.*atom#/usr/bin/atom#" \
-e "s#<%= iconName %>#atom#" \
resources/linux/Atom.desktop.in > \
$PKG/usr/share/applications/Atom.desktop
resources/linux/atom.desktop.in > \
$PKG/usr/share/applications/atom.desktop
if [ "$DELETE_CACHE" == "yes" ]; then
# delete temporal data
rm -rf /tmp/atom-cached-atom-shells
rm -rf ~/.atom/
fi

View file

@ -1,8 +1,8 @@
PRGNAM="atom"
VERSION="0.115.0"
VERSION="0.138.0"
HOMEPAGE="https://atom.io/"
DOWNLOAD="https://codeload.github.com/atom/atom/tar.gz/v0.115.0"
MD5SUM="3b713c1f3a3b3a6dd4d3d4e5db1be3a9"
DOWNLOAD="https://codeload.github.com/atom/atom/tar.gz/v0.138.0"
MD5SUM="f2f13177bcfdc104fa7a345b39b422d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="node"