# 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}
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
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 \
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"