diff options
Diffstat (limited to 'audio/lv2file/lv2file.SlackBuild')
-rw-r--r-- | audio/lv2file/lv2file.SlackBuild | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/audio/lv2file/lv2file.SlackBuild b/audio/lv2file/lv2file.SlackBuild index 64af0f35d8..73ea081331 100644 --- a/audio/lv2file/lv2file.SlackBuild +++ b/audio/lv2file/lv2file.SlackBuild @@ -2,10 +2,12 @@ # Slackware build script for lv2file -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20220615 bkw: update for v0.95. + # 20170301 bkw: # - use long-format github URL (thanks, David!) @@ -15,7 +17,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lv2file -VERSION=${VERSION:-0.84} +VERSION=${VERSION:-0.95} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -28,9 +30,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 @@ -56,10 +55,6 @@ fi set -e -# The man page is in the debian archive, which might be an older -# version than the release. For 0.84, the 0.83 man page is still valid. -MANVER=0.83 - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -82,11 +77,8 @@ make strip $PRGNAM make install DESTDIR=$PKG -# Use the debian man page (which is actually by the lv2file author, -# I dunno why it's not in the lv2file source distrib to begin with) -tar xvf $CWD/${PRGNAM}_$MANVER-1.debian.tar.gz debian/$PRGNAM.1 mkdir -p $PKG/usr/man/man1 -gzip -9c < debian/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz +gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION |