diff options
author | DhabyX <slack.dhabyx@gmail.com> | 2016-08-14 21:54:03 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-14 21:54:03 +0100 |
commit | d46e8092903d5940d09a337d874409b9226f1bf3 (patch) | |
tree | 3e6c3cc1ee533791370e3241c6eaf7c6ff204cf0 /development/atom/atom.SlackBuild | |
parent | e330bf1789b65874a1f3c79e079c771a557e4716 (diff) | |
download | slackbuilds-d46e8092903d5940d09a337d874409b9226f1bf3.tar.gz |
development/atom: Updated for version 1.9.8.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/atom/atom.SlackBuild')
-rw-r--r-- | development/atom/atom.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild index 11f12d7703..3cd9cef034 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.8.0} +VERSION=${VERSION:-1.9.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +34,7 @@ DELETE_CACHE=${DELETE_CACHE:-no} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -74,9 +74,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# FIX electron in 1.7.x and up -sed -i -e 's/"electronVersion":\ "0.36.8"/"electronVersion":\ "0.36.12"/' package.json - if [ "$DISABLE_METRICS" = "yes" ]; then sed -i '/"metrics":/d' package.json fi |