summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/atom/atom.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild
index 3480a62436..95ff21ad56 100644
--- a/development/atom/atom.SlackBuild
+++ b/development/atom/atom.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=atom
VERSION=${VERSION:-1.11.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
#Disable send metrics to Google Analytics module
@@ -98,8 +98,10 @@ fi
install -Dm755 atom.sh $PKG/usr/bin/atom
cp -r out/$PRGNAM-$VERSION-$ARCH_OUTPUT/* $PKG/usr/share/atom/
-ln -sf $PKG/usr/share/atom/resources/app/apm/node_modules/.bin/apm \
- $PKG/usr/bin/apm
+(
+ cd $PKG/usr/bin
+ ln -sf ../share/atom/resources/app/apm/node_modules/.bin/apm apm
+)
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