summaryrefslogtreecommitdiff
path: root/audio/lsmi
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-11-25 14:46:20 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-04 10:09:00 +0700
commit87225a2c089f7073d90c35b1e4bed386e3eb32d5 (patch)
tree28273a6e421516f7bc9d42811dc4671cfab802d4 /audio/lsmi
parent0485e710ac2a039a71513b8083a58a47010021cc (diff)
downloadslackbuilds-87225a2c089f7073d90c35b1e4bed386e3eb32d5.tar.gz
audio/lsmi: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/lsmi')
-rw-r--r--audio/lsmi/lsmi.SlackBuild10
-rw-r--r--audio/lsmi/lsmi.info2
2 files changed, 3 insertions, 9 deletions
diff --git a/audio/lsmi/lsmi.SlackBuild b/audio/lsmi/lsmi.SlackBuild
index c5dc6c109f..91d5cf09dc 100644
--- a/audio/lsmi/lsmi.SlackBuild
+++ b/audio/lsmi/lsmi.SlackBuild
@@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,11 +54,8 @@ rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# all this seddery could have been done with a diff, I just felt like
# using sed today for some reason.
diff --git a/audio/lsmi/lsmi.info b/audio/lsmi/lsmi.info
index 8cfe4a9570..010ef51c9a 100644
--- a/audio/lsmi/lsmi.info
+++ b/audio/lsmi/lsmi.info
@@ -1,7 +1,7 @@
PRGNAM="lsmi"
VERSION="0.1"
HOMEPAGE="http://lsmi-all.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/lsmi-all/lsmi-all/lsmi-0.1/lsmi-0.1.tar.gz"
+DOWNLOAD="https://downloads.sourceforge.net/project/lsmi-all/lsmi-all/lsmi-0.1/lsmi-0.1.tar.gz"
MD5SUM="42e988a854dfc36810193de6c5469f78"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""