diff options
author | DhabyX <slack.dhabyx@gmail.com> | 2017-02-10 21:27:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-10 21:27:32 +0700 |
commit | 03d406b8002c84cab3ef89be5bf7205bfb73695d (patch) | |
tree | 02ed1c05442f32f1d0a3c5974a4898513ca392e5 /development/atom/atom.SlackBuild | |
parent | 5c24d410d086bde26dc3af6e1cf1fecdee199c2a (diff) | |
download | slackbuilds-03d406b8002c84cab3ef89be5bf7205bfb73695d.tar.gz |
development/atom: Updated for version 1.14.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/atom/atom.SlackBuild')
-rw-r--r-- | development/atom/atom.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild index c21248ccd2..a5641f7721 100644 --- a/development/atom/atom.SlackBuild +++ b/development/atom/atom.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=atom -VERSION=${VERSION:-1.13.1} +VERSION=${VERSION:-1.14.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,12 +48,15 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" + NPMARCH="ia32" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" + NPMARCH="ia32" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" + NPMARCH="x86_64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -82,6 +85,8 @@ echo '*********************************************************************' echo '* The installation process will download a lot of modules for atom. *' echo '*********************************************************************' +npm_config_arch=$NPMARCH \ +npm_config_target_arch=$NPMARCH \ PYTHON=python2 \ ./script/build |