aboutsummaryrefslogtreecommitdiff
path: root/audio/drumkv1/drumkv1.SlackBuild
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 /audio/drumkv1/drumkv1.SlackBuild
parent30b2a044862f026aa8a25e9a06855b2408385c3f (diff)
audio/drumkv1: Updated for version 0.9.1, French man page.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/drumkv1/drumkv1.SlackBuild')
-rw-r--r--audio/drumkv1/drumkv1.SlackBuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/audio/drumkv1/drumkv1.SlackBuild b/audio/drumkv1/drumkv1.SlackBuild
index 253dde580f373..87f5ced302395 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