summaryrefslogtreecommitdiff
path: root/development/atom/atom.SlackBuild
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2014-10-18 16:58:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-18 16:58:23 +0700
commitbdf4f86fe6c556f73c8d45c634e789de1971ef5b (patch)
treeafe1fd1e2ce6c54829048148b4c1446c03b99ffb /development/atom/atom.SlackBuild
parenteaaeec68feaf0f50630cae4745765777a482e45e (diff)
downloadslackbuilds-bdf4f86fe6c556f73c8d45c634e789de1971ef5b.tar.gz
development/atom: Updated for version 0.138.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/atom/atom.SlackBuild')
-rw-r--r--development/atom/atom.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild
index f3a3af9afb..569a3630c2 100644
--- a/development/atom/atom.SlackBuild
+++ b/development/atom/atom.SlackBuild
@@ -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