From b2540f92927e4f7035f91b6812ef45207dc9a58a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 2 Jul 2018 14:59:11 -0400 Subject: audio/drumkv1: Updated for version 0.9.1, French man page. Signed-off-by: B. Watson --- audio/drumkv1/drumkv1.SlackBuild | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'audio/drumkv1/drumkv1.SlackBuild') 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 -- cgit v1.2.3