aboutsummaryrefslogtreecommitdiff
path: root/audio/ff8dls
diff options
context:
space:
mode:
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