summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-07-02 14:59:11 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-07 06:54:21 +0700
commitb2540f92927e4f7035f91b6812ef45207dc9a58a (patch)
tree67827f7e86a3563845023618e1b29d74f0cc64e1
parent30b2a044862f026aa8a25e9a06855b2408385c3f (diff)
downloadslackbuilds-b2540f92927e4f7035f91b6812ef45207dc9a58a.tar.gz
audio/drumkv1: Updated for version 0.9.1, French man page.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--audio/drumkv1/drumkv1.SlackBuild15
-rw-r--r--audio/drumkv1/drumkv1.info6
2 files changed, 16 insertions, 5 deletions
diff --git a/audio/drumkv1/drumkv1.SlackBuild b/audio/drumkv1/drumkv1.SlackBuild
index 253dde580f..87f5ced302 100644
--- a/audio/drumkv1/drumkv1.SlackBuild
+++ b/audio/drumkv1/drumkv1.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20180702 bkw: update for 0.9.1, install French man page correctly.
# 20180615 bkw: update for 0.9.0
# 20180101 bkw: update for 0.8.6
# 20171220 bkw: updated for v0.8.5. Skipped 0.8.4 due to compile errors.
@@ -13,7 +14,7 @@
# 20170614 bkw: update for 0.8.2, drop qt5 dep, build with qt4
PRGNAM=drumkv1
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,9 +81,19 @@ make install DESTDIR=$PKG
[ -d $PKG/usr/share/metainfo ] && \
mv $PKG/usr/share/metainfo $PKG/usr/share/appdata
+# See comments in synthv1.SlackBuild to understand this.
+mkdir -p $PKG/usr/man/fr/man1 $PKG/usr/man/fr.UTF-8/man1
+mv $PKG/usr/man/man1/$PRGNAM.fr.1.gz $PKG/usr/man/fr.UTF-8/man1/$PRGNAM.1.gz
+zcat $PKG/usr/man/fr.UTF-8/man1/$PRGNAM.1.gz | \
+ iconv -f UTF-8 -t ISO-8859-1 | \
+ gzip -9c \
+ > $PKG/usr/man/fr/man1/$PRGNAM.1.gz
+
# binaries already stripped, man page already gzipped. make symlink
# to man page, to match the actual name of the binary.
-ln -s $PRGNAM.1.gz $PKG/usr/man/man1/${PRGNAM}_jack.1.gz
+for i in man1 fr/man1 fr.UTF-8/man1; do
+ ln -s $PRGNAM.1.gz $PKG/usr/man/$i/${PRGNAM}_jack.1.gz
+done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/audio/drumkv1/drumkv1.info b/audio/drumkv1/drumkv1.info
index 6785432493..ef60e76962 100644
--- a/audio/drumkv1/drumkv1.info
+++ b/audio/drumkv1/drumkv1.info
@@ -1,8 +1,8 @@
PRGNAM="drumkv1"
-VERSION="0.9.0"
+VERSION="0.9.1"
HOMEPAGE="https://drumkv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/drumkv1/drumkv1/0.9.0/drumkv1-0.9.0.tar.gz"
-MD5SUM="970725490a28ee8e35d1ab78321278c9"
+DOWNLOAD="https://downloads.sourceforge.net/project/drumkv1/drumkv1/0.9.1/drumkv1-0.9.1.tar.gz"
+MD5SUM="fed5cf375dcd7e97291ed38d632fa773"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit"