summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/electron/electron.SlackBuild19
-rw-r--r--development/electron/electron.info18
2 files changed, 12 insertions, 25 deletions
diff --git a/development/electron/electron.SlackBuild b/development/electron/electron.SlackBuild
index 7eca2a8239..acc4416a96 100644
--- a/development/electron/electron.SlackBuild
+++ b/development/electron/electron.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=electron
-VERSION=${VERSION:-1.4.16}
+VERSION=${VERSION:-10.0.0_beta.1}
+SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,11 +57,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-v$VERSION-linux-$PKG_ARCH.zip
-tar xvf $CWD/node-v$VERSION.tar.gz
+rm -rf $PRGNAM-$SRCVER
+mkdir $PRGNAM-$SRCVER
+cd $PRGNAM-$SRCVER
+unzip $CWD/$PRGNAM-v$SRCVER-linux-$PKG_ARCH.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,15 +80,10 @@ cp -a *.bin *.pak *.so $PRGNAM icudtl.dat version locales resources \
ln -sf ../share/$PRGNAM/$PRGNAM ${PRGNAM}
)
-# Install node headers
-mkdir -p $PKG/usr/share/$PRGNAM/node
-cp -a node-v$VERSION/* $PKG/usr/share/$PRGNAM/node
-
# Install prebuilt version for build binary apps
if [ "${INSTALL_ZIP:-no}" != no ]; then
mkdir -p $PKG/usr/share/$PRGNAM/release
- cp $CWD/$PRGNAM-v$VERSION-linux-$PKG_ARCH.zip $PKG/usr/share/$PRGNAM/release
- cp $CWD/SHASUMS256.txt $PKG/usr/share/$PRGNAM/release
+ cp $CWD/$PRGNAM-v$SRCVER-linux-$PKG_ARCH.zip $PKG/usr/share/$PRGNAM/release
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/development/electron/electron.info b/development/electron/electron.info
index 66fb23c5f5..6074f2b12f 100644
--- a/development/electron/electron.info
+++ b/development/electron/electron.info
@@ -1,18 +1,10 @@
PRGNAM="electron"
-VERSION="1.4.16"
+VERSION="10.0.0_beta.1"
HOMEPAGE="https://electron.atom.io/"
-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"
+DOWNLOAD="https://github.com/electron/electron/releases/download/v10.0.0-beta.1/electron-v10.0.0-beta.1-linux-ia32.zip"
+MD5SUM="1fb8f937c6ddf47cb6c5b6b2cfc04433"
+DOWNLOAD_x86_64="https://github.com/electron/electron/releases/download/v10.0.0-beta.1/electron-v10.0.0-beta.1-linux-x64.zip"
+MD5SUM_x86_64="277eed276bbbd25ec492f8646fe78048"
REQUIRES=""
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"