diff options
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 |