From d1fb741575a6c8a6796f1fccc5b48192a58f6300 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 24 Feb 2023 23:48:09 -0500 Subject: [PATCH] audio/soundkonverter: New maintainer. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- .../soundkonverter/soundkonverter.SlackBuild | 30 +++++++------------ audio/soundkonverter/soundkonverter.info | 4 +-- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/audio/soundkonverter/soundkonverter.SlackBuild b/audio/soundkonverter/soundkonverter.SlackBuild index 97268cb486..300e81fdb0 100644 --- a/audio/soundkonverter/soundkonverter.SlackBuild +++ b/audio/soundkonverter/soundkonverter.SlackBuild @@ -4,6 +4,7 @@ # Copyright 2013 Roberto Neri, Palermo, Italy # Copyright 2017 Donald Cooley South Haven, Indiana USA +# Copyright 2023 B. Watson # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,12 +24,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230224 bkw: BUILD=2, new maintainer, remove INSTALL from doc dir. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=soundkonverter VERSION=${VERSION:-3.0.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +42,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 @@ -75,11 +74,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$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 \ - \( -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 {} \+ mkdir -p build cd build @@ -90,18 +86,14 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release ../src - make - make install DESTDIR=$PKG + make VERBOSE=1 + make install/strip DESTDIR=$PKG cd .. -find $PKG -print0 | xargs -0 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 \ - src/CHANGELOG src/COPYING src/INSTALL src/README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a src/CHANGELOG src/COPYING src/README $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/audio/soundkonverter/soundkonverter.info b/audio/soundkonverter/soundkonverter.info index 3c928b309e..cbc7ec2506 100644 --- a/audio/soundkonverter/soundkonverter.info +++ b/audio/soundkonverter/soundkonverter.info @@ -6,5 +6,5 @@ MD5SUM="cf283636b9d5fb8553afe71c0d07b384" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Donald Cooley" -EMAIL="chytraeu@sdf.org" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk"