audio/audacity: Fix for the newer manual version.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
3f182011e5
commit
03560f87d1
|
@ -32,6 +32,7 @@
|
|||
PRGNAM=audacity
|
||||
SRCNAM=Audacity
|
||||
VERSION=${VERSION:-2.2.1}
|
||||
MANVER=${MANVER:-2.2.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -148,9 +149,11 @@ rm -fr $PKG/usr/share/doc
|
|||
cp LICENSE.txt README.txt todo.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
# Before changing the version just check the path inside of the zip:
|
||||
# the index file must be located to /usr/share/audacity/help/manual/index.html
|
||||
if [ "${MANUAL:-no}" = "yes" ]; then
|
||||
mkdir -p $PKG/usr/share/$PRGNAM/help/manual
|
||||
unzip $CWD/$PRGNAM-help-$VERSION.zip -d $PKG/usr/share/$PRGNAM/help/manual
|
||||
mkdir -p $PKG/usr/share/$PRGNAM
|
||||
unzip $CWD/$PRGNAM-manual-$MANVER.zip -d $PKG/usr/share/$PRGNAM
|
||||
fi
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -2,9 +2,9 @@ PRGNAM="audacity"
|
|||
VERSION="2.2.1"
|
||||
HOMEPAGE="http://audacity.sourceforge.net"
|
||||
DOWNLOAD="https://github.com/audacity/audacity/archive/Audacity-2.2.1.tar.gz \
|
||||
http://ponce.cc/slackware/sources/repo/audacity-help-2.1.3.zip"
|
||||
http://ponce.cc/slackware/sources/repo/audacity-manual-2.2.1.zip"
|
||||
MD5SUM="0b07c3bf0eb41072704f03b291f08796 \
|
||||
5e32b26a48f79e82438998c3334fe117"
|
||||
81ab553d243fa9ee9dfc58caaf7b5dd2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="lame wxGTK3"
|
||||
|
|
Loading…
Reference in New Issue