aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-05 03:28:30 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-05 03:28:30 -0400
commitc44685642afebb922a6ed225a6f9f436d38bfc3d (patch)
tree4960f9cce146dcf658cc3cea3e6679fc2ad391aa
parent8506793121fb2bf488b4db94d9fe434158c774d0 (diff)
audio/celt051: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--audio/celt051/celt051.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/celt051/celt051.SlackBuild b/audio/celt051/celt051.SlackBuild
index e7d241456900..c8bbb7422825 100644
--- a/audio/celt051/celt051.SlackBuild
+++ b/audio/celt051/celt051.SlackBuild
@@ -24,11 +24,14 @@
# forked of celt slackbuild by Matteo Bernardini <ponce@slackbuilds.org>
+# 20220405 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - clean up doc dir (empty files, useless INSTALL).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=celt051
VERSION=${VERSION:-0.5.1.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +43,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
@@ -77,9 +77,9 @@ cd celt-$VERSION
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 \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -97,11 +97,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
+cp -a COPYING README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild