]> git.t-rg.ws Git - slackbuilds.git/commitdiff
dart-sass: updated to version 1.64.2
authorfsLeg <fsleg@t-rg.ws>
Sun, 6 Aug 2023 11:55:01 +0000 (14:55 +0300)
committerfsLeg <fsleg@t-rg.ws>
Sun, 6 Aug 2023 11:55:01 +0000 (14:55 +0300)
dart-sass/dart-sass.SlackBuild
dart-sass/dart-sass.info

index f7c107057e29aea706788f57c9ab5e5845a659f8..6322ba1da4eafcdf4ed9c51d7437d731c6bf3927 100755 (executable)
@@ -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 \
index a20e79b989f95e2a3f9ec99b140e31c30438886f..9f2aceb1e298a35646d84a44e55090e285f05a6b 100644 (file)
@@ -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"