audio/mp3splt: Fix broken man symlinks.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-06 04:23:37 -05:00 committed by Willy Sudiarto Raharjo
parent aaa96c2d91
commit 8ace3180ef
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -23,19 +23,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20230106 bkw: BUILD=2. Man page symlinks have been broken for 8
# years. Nobody noticed, does anyone even use this?
# 20150107 bkw:
# - Updated for v2.6.2
# 20140819 bkw:
# - Updated for v2.6.1a
# - Get rid of empty TODO and redundant INSTALL from /usr/doc.
# - Use make install-strip instead of find/xargs/strip
# 20150107 bkw:
# - Updated for v2.6.2
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mp3splt
VERSION=${VERSION:-2.6.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -96,6 +99,7 @@ make
make install-strip DESTDIR=$PKG
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 ChangeLog COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION