aboutsummaryrefslogtreecommitdiff
path: root/audio/ff8dls
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-11-27 15:47:26 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-04 10:09:03 +0700
commitdd6f5d52a197915a882f69f065ed8904f63c06ab (patch)
treef6c25544baf4e851e34d948902802ce2a9176ccd /audio/ff8dls
parentcfbdc5e9e1b5e472507d7384d3a6d64bb91f6713 (diff)
audio/ff8dls: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ff8dls')
-rw-r--r--audio/ff8dls/README2
-rw-r--r--audio/ff8dls/ff8dls.SlackBuild10
2 files changed, 4 insertions, 8 deletions
diff --git a/audio/ff8dls/README b/audio/ff8dls/README
index 3ea305773b0bd..ee595d107d2ed 100644
--- a/audio/ff8dls/README
+++ b/audio/ff8dls/README
@@ -1,3 +1,5 @@
+ff8dls (DLS soundfont for use with fmodapi)
+
A soundfont to be used with DLS compatible MIDI devices, including the
fmodapi package from slackbuilds.org.
diff --git a/audio/ff8dls/ff8dls.SlackBuild b/audio/ff8dls/ff8dls.SlackBuild
index fe27cac81fb74..fb69f15dff019 100644
--- a/audio/ff8dls/ff8dls.SlackBuild
+++ b/audio/ff8dls/ff8dls.SlackBuild
@@ -19,9 +19,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# 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
@@ -48,11 +45,8 @@ cd $PRGNAM-$VERSION
unzip -LL $CWD/$ZIPFILE $PRGNAM.exe readme.txt
unrar x -cl $PRGNAM.exe
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 640 -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 {} \+
# By analogy with fluid-soundfont's /usr/share/sounds/sf2...
mkdir -p $PKG/usr/share/sounds/dls