aboutsummaryrefslogtreecommitdiff
path: root/audio/xforge
diff options
context:
space:
mode:
authorDavid Woodfall <dave@slackbuilds.org>2022-02-19 05:12:42 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 15:12:37 +0700
commit410ce7cf8c19b256c059842375ee9c8b7e1a5e5d (patch)
treee68054b7e2987a202df6f22d81ab6dfa7e3e8143 /audio/xforge
parent1c272a37d4349ee5a99f79ff3ee989b3521c4b53 (diff)
audio/xforge: Cleanup SlackBuild.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/xforge')
-rw-r--r--audio/xforge/README8
-rw-r--r--audio/xforge/xforge.SlackBuild7
2 files changed, 6 insertions, 9 deletions
diff --git a/audio/xforge/README b/audio/xforge/README
index b9d0d1b52cbb..165d29b95cbb 100644
--- a/audio/xforge/README
+++ b/audio/xforge/README
@@ -1,4 +1,4 @@
-Xforge is a graphical wave editor for UNIX systems with X11 and
-Motif. The name is derived from popular PC/Windows wave editor Sound
-Forge, and the goal of Xforge project is to provide similar wave
-editing facilities to UNIX world, but as free software.
+Xforge is a graphical wave editor for UNIX systems with X11 and Motif.
+The name is derived from popular PC/Windows wave editor Sound Forge, and
+the goal of Xforge project is to provide similar wave editing facilities
+to UNIX world, but as free software.
diff --git a/audio/xforge/xforge.SlackBuild b/audio/xforge/xforge.SlackBuild
index 2e6e05ef1383..57ba26e03c5a 100644
--- a/audio/xforge/xforge.SlackBuild
+++ b/audio/xforge/xforge.SlackBuild
@@ -68,7 +68,7 @@ fi
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG/usr/bin $OUTPUT
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
@@ -82,10 +82,7 @@ find -L . \
xmkmf -a
make CFLAGS="$SLKCFLAGS"
-install -m 755 xforge $PKG/usr/bin
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+install -D -s -m 0755 xforge $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \