aboutsummaryrefslogtreecommitdiff
path: root/development/electron
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2017-04-06 08:57:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-06 21:03:13 +0700
commit78a331763c12e6e5b5bdce164676940f4d805fff (patch)
tree69005bd75715af74aeab65f9ecbae2badefb5879 /development/electron
parentdf231b38ab480df25205cde096eacff631a0bd59 (diff)
development/electron: Updated for version 1.4.16.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/electron')
-rw-r--r--development/electron/electron.SlackBuild15
-rw-r--r--development/electron/electron.info26
2 files changed, 24 insertions, 17 deletions
diff --git a/development/electron/electron.SlackBuild b/development/electron/electron.SlackBuild
index 29d48ea65d33e..7eca2a8239334 100644
--- a/development/electron/electron.SlackBuild
+++ b/development/electron/electron.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=electron
-VERSION=${VERSION:-1.4.15}
+VERSION=${VERSION:-1.4.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,10 +40,15 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "x86_64" ]; then
+if [ "$ARCH" = "i586" ]; then
+ PKG_ARCH="ia32"
+elif [ "$ARCH" = "i686" ]; then
+ PKG_ARCH="ia32"
+elif [ "$ARCH" = "x86_64" ]; then
PKG_ARCH="x64"
else
- PKG_ARCH="ia32"
+ echo "The package for $(uname -m) architecture is not supported.";
+ exit 1
fi
set -e
@@ -87,7 +92,9 @@ if [ "${INSTALL_ZIP:-no}" != no ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE LICENSES.chromium.html $CWD/README.Slackware $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE LICENSES.chromium.html $CWD/README.Slackware \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/electron/electron.info b/development/electron/electron.info
index a93dcb7b5daf6..1f3b6660cd3b9 100644
--- a/development/electron/electron.info
+++ b/development/electron/electron.info
@@ -1,18 +1,18 @@
PRGNAM="electron"
-VERSION="1.4.15"
+VERSION="1.4.16"
HOMEPAGE="http://electron.atom.io/"
-DOWNLOAD="https://github.com/electron/electron/releases/download/v1.4.15/electron-v1.4.15-linux-ia32.zip \
- https://atom.io/download/atom-shell/v1.4.15/node-v1.4.15.tar.gz \
- https://github.com/electron/electron/releases/download/v1.4.15/SHASUMS256.txt"
-MD5SUM="e43af42d4208ef2b776d336999d3a466 \
- 546bba67682b16b7a13f6a9033fe67df \
- 36b1b0c69a08316a06424318a1916918"
-DOWNLOAD_x86_64="https://github.com/electron/electron/releases/download/v1.4.15/electron-v1.4.15-linux-x64.zip \
- https://atom.io/download/atom-shell/v1.4.15/node-v1.4.15.tar.gz \
- https://github.com/electron/electron/releases/download/v1.4.15/SHASUMS256.txt"
-MD5SUM_x86_64="88733c52fc80a22361ffbab7bed5ef88 \
- 546bba67682b16b7a13f6a9033fe67df \
- 36b1b0c69a08316a06424318a1916918"
+DOWNLOAD="https://github.com/electron/electron/releases/download/v1.4.16/electron-v1.4.16-linux-ia32.zip \
+ https://atom.io/download/atom-shell/v1.4.16/node-v1.4.16.tar.gz \
+ https://github.com/electron/electron/releases/download/v1.4.16/SHASUMS256.txt"
+MD5SUM="652fa09cd457f76b315ec5caba4a1c9f \
+ 4966fe03ea2e9c6df6e96d2f230084b5 \
+ b5e47dfdaeab4029eb5762d93593f390"
+DOWNLOAD_x86_64="https://github.com/electron/electron/releases/download/v1.4.16/electron-v1.4.16-linux-x64.zip \
+ https://atom.io/download/atom-shell/v1.4.16/node-v1.4.16.tar.gz \
+ https://github.com/electron/electron/releases/download/v1.4.16/SHASUMS256.txt"
+MD5SUM_x86_64="ad3616c2e2f26eeac8acab3108ef0d8b \
+ 4966fe03ea2e9c6df6e96d2f230084b5 \
+ b5e47dfdaeab4029eb5762d93593f390"
REQUIRES=""
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"