summaryrefslogtreecommitdiffstats
path: root/development/atom/atom.SlackBuild
diff options
context:
space:
mode:
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