aboutsummaryrefslogtreecommitdiff
path: root/audio/audacity/audacity.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-01-12 18:03:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-13 07:13:08 +0700
commit03560f87d1971072bbe8cb6a6edd34997724de6d (patch)
tree9341b26aefc9c7990a611f3f345e32c380ec6dc9 /audio/audacity/audacity.SlackBuild
parent3f182011e5da5b41b9bfa0e9c9731a266c859ef2 (diff)
audio/audacity: Fix for the newer manual version.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/audacity/audacity.SlackBuild')
-rw-r--r--audio/audacity/audacity.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index 255dff433fc9e..db369893b83f6 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