From c44685642afebb922a6ed225a6f9f436d38bfc3d Mon Sep 17 00:00:00 2001 From: B. Watson Date: Tue, 5 Apr 2022 03:28:30 -0400 Subject: audio/celt051: Fix docs. Signed-off-by: B. Watson --- audio/celt051/celt051.SlackBuild | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'audio/celt051') diff --git a/audio/celt051/celt051.SlackBuild b/audio/celt051/celt051.SlackBuild index e7d2414569..c8bbb74228 100644 --- a/audio/celt051/celt051.SlackBuild +++ b/audio/celt051/celt051.SlackBuild @@ -24,11 +24,14 @@ # forked of celt slackbuild by Matteo Bernardini +# 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 -- cgit v1.2.3