summaryrefslogtreecommitdiffstats
path: root/audio/wavbreaker/wavbreaker.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/wavbreaker/wavbreaker.SlackBuild')
-rw-r--r--audio/wavbreaker/wavbreaker.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/audio/wavbreaker/wavbreaker.SlackBuild b/audio/wavbreaker/wavbreaker.SlackBuild
index d7b80bcf25..d1931a2e8f 100644
--- a/audio/wavbreaker/wavbreaker.SlackBuild
+++ b/audio/wavbreaker/wavbreaker.SlackBuild
@@ -2,8 +2,8 @@
# Slackware build script for wavbreaker
-# Copyright 2013, Josiah Boothby, Seattle
-# Copyright 2022 Andrew Strong, Blue Mountains
+# Copyright 2013 - 2021 Josiah Boothby, Seattle
+# Copyright 2022 - 2023 Andrew Strong, Blue Mountains
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wavbreaker
-VERSION=${VERSION:-0.13}
+VERSION=${VERSION:-0.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +39,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
@@ -84,7 +81,7 @@ mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
- meson .. \
+ meson setup .. \
--buildtype=release \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
@@ -102,7 +99,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CONTRIBUTORS COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CONTRIBUTORS COPYING *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install