From 03560f87d1971072bbe8cb6a6edd34997724de6d Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 12 Jan 2018 18:03:52 +0100 Subject: [PATCH] audio/audacity: Fix for the newer manual version. Signed-off-by: Matteo Bernardini --- audio/audacity/audacity.SlackBuild | 7 +++++-- audio/audacity/audacity.info | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild index 255dff433f..db369893b8 100644 --- a/audio/audacity/audacity.SlackBuild +++ b/audio/audacity/audacity.SlackBuild @@ -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 diff --git a/audio/audacity/audacity.info b/audio/audacity/audacity.info index b298e06f00..0307624b6d 100644 --- a/audio/audacity/audacity.info +++ b/audio/audacity/audacity.info @@ -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"