summaryrefslogtreecommitdiff
path: root/audio
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
parent3f182011e5da5b41b9bfa0e9c9731a266c859ef2 (diff)
downloadslackbuilds-03560f87d1971072bbe8cb6a6edd34997724de6d.tar.gz
audio/audacity: Fix for the newer manual version.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/audacity/audacity.SlackBuild7
-rw-r--r--audio/audacity/audacity.info4
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"