From 7b0866fc5237879dd5f7b22fd283534f645c9412 Mon Sep 17 00:00:00 2001 From: fsLeg Date: Wed, 1 Jan 2025 22:45:44 +0300 Subject: [PATCH] Cleanup --- dart-sass/dart-sass.SlackBuild | 1 - dumptorrent/dumptorrent.SlackBuild | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dart-sass/dart-sass.SlackBuild b/dart-sass/dart-sass.SlackBuild index d776051..1963b7c 100644 --- a/dart-sass/dart-sass.SlackBuild +++ b/dart-sass/dart-sass.SlackBuild @@ -78,7 +78,6 @@ cd $TMP tar xvf $CWD/$PRGNAM-$VERSION-linux-$ARCHID.tar.gz cd $PRGNAM -#mkdir -p $PKG/usr/bin $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM sed -i "s/\/src\//\/..\/lib$LIBDIRSUFFIX\/$PRGNAM\//g" sass install -D -t $PKG/usr/bin/ sass install -D -t $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/ src/dart src/sass.snapshot diff --git a/dumptorrent/dumptorrent.SlackBuild b/dumptorrent/dumptorrent.SlackBuild index 8ceecf3..2460e73 100644 --- a/dumptorrent/dumptorrent.SlackBuild +++ b/dumptorrent/dumptorrent.SlackBuild @@ -75,13 +75,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make dumptorrent CFLAGS="${SLKCFLAGS}" +make dumptorrent CFLAGS="$SLKCFLAGS" # There's no 'install' target and no documentation, so we just copy the binary # to a correct location and package it. -mkdir -p ${PKG}/usr/bin -install -Dm755 ./dumptorrent ${PKG}/usr/bin/ +mkdir -p $PKG/usr/bin +install -Dm755 ./dumptorrent $PKG/usr/bin/ # Strip binaries find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ -- 2.46.3