From e3749204c3ed6bae9ef7ee895694299eda9770ac Mon Sep 17 00:00:00 2001 From: fsLeg Date: Sun, 6 Aug 2023 14:55:01 +0300 Subject: [PATCH] dart-sass: updated to version 1.64.2 --- dart-sass/dart-sass.SlackBuild | 14 +++++++++++--- dart-sass/dart-sass.info | 10 +++++----- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/dart-sass/dart-sass.SlackBuild b/dart-sass/dart-sass.SlackBuild index f7c1070..6322ba1 100755 --- a/dart-sass/dart-sass.SlackBuild +++ b/dart-sass/dart-sass.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="dart-sass" -VERSION=${VERSION:-1.55.0} +VERSION=${VERSION:-1.64.2} BUILD=${BUILD:-1} TAG=${TAG:-fsleg} @@ -42,6 +42,12 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +if [ "$ARCH" = "x64" ]; then + LIBDIRSUFFIX="64" +else + LIBDIRSUFFIX="" +fi + # This is just a repackaging of a pre-built binary, no compilation is needed set -e # Exit on most errors @@ -52,8 +58,10 @@ cd $TMP tar xvf $CWD/$PRGNAM-$VERSION-linux-$ARCH.tar.gz cd $PRGNAM -mkdir -p $PKG/usr/bin -mv sass $PKG/usr/bin/ +mkdir -p $PKG/usr/bin $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM +sed -i "s/\/src\//\/..\/lib$LIBDIRSUFFIX\/$PRGNAM\//g" sass +cp sass $PKG/usr/bin/ +cp src/dart src/sass.snapshot $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/ chown -R root:root $PKG find -L $PKG \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/dart-sass/dart-sass.info b/dart-sass/dart-sass.info index a20e79b..9f2aceb 100644 --- a/dart-sass/dart-sass.info +++ b/dart-sass/dart-sass.info @@ -1,10 +1,10 @@ PRGNAM="dart-sass" -VERSION="1.55.0" +VERSION="1.64.2" HOMEPAGE="https://sass-lang.com/dart-sass" -DOWNLOAD="https://github.com/sass/dart-sass/releases/download/1.55.0/dart-sass-1.55.0-linux-ia32.tar.gz" -MD5SUM="f5c928668cfd762eaffcfcf67acbac91" -DOWNLOAD_x86_64="https://github.com/sass/dart-sass/releases/download/1.55.0/dart-sass-1.55.0-linux-x64.tar.gz" -MD5SUM_x86_64="66c2dabf2662c518734c612287fbb6e7" +DOWNLOAD="https://github.com/sass/dart-sass/releases/download/1.64.2/dart-sass-1.64.2-linux-ia32.tar.gz" +MD5SUM="5a724e23448e8728cc315acc0cd4dd40" +DOWNLOAD_x86_64="https://github.com/sass/dart-sass/releases/download/1.64.2/dart-sass-1.64.2-linux-x64.tar.gz" +MD5SUM_x86_64="495a142f305f651bc17de29633ebde35" REQUIRES="" MAINTAINER="Vladislav Borisov" EMAIL="fsleg@t-rg.ws" -- 2.46.3