diff options
author | DhabyX <slack.dhabyx@gmail.com> | 2017-04-06 08:57:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-06 21:03:13 +0700 |
commit | 78a331763c12e6e5b5bdce164676940f4d805fff (patch) | |
tree | 69005bd75715af74aeab65f9ecbae2badefb5879 /development/electron/electron.SlackBuild | |
parent | df231b38ab480df25205cde096eacff631a0bd59 (diff) | |
download | slackbuilds-78a331763c12e6e5b5bdce164676940f4d805fff.tar.gz |
development/electron: Updated for version 1.4.16.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/electron/electron.SlackBuild')
-rw-r--r-- | development/electron/electron.SlackBuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/development/electron/electron.SlackBuild b/development/electron/electron.SlackBuild index 29d48ea65d..7eca2a8239 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 |