diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-24 11:52:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-30 13:43:55 +0700 |
commit | 01da57706486c2dc4df249207d82622dfe625b71 (patch) | |
tree | 0c003087614d53e7e125d1e89d1ad9628ef11b73 /development/electron/electron.SlackBuild | |
parent | 17ff669358ab737d458043e532c674923bf2a92a (diff) |
development/electron: Updated for version 10.0.0_beta.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/electron/electron.SlackBuild')
-rw-r--r-- | development/electron/electron.SlackBuild | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/development/electron/electron.SlackBuild b/development/electron/electron.SlackBuild index 7eca2a8239334..acc4416a9612e 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 |