mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
development/atom: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
57fdec2ebb
commit
21c9d4d66a
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue