diff options
author | B. Watson <yalhcru@gmail.com> | 2018-07-02 15:01:24 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-07 06:54:21 +0700 |
commit | ef9bb9951a5f152237ba2d964665193812fbfb6f (patch) | |
tree | aeb0d2e27462a7906eb579fe2857e4573500fde1 /audio/samplv1/samplv1.SlackBuild | |
parent | b2540f92927e4f7035f91b6812ef45207dc9a58a (diff) | |
download | slackbuilds-ef9bb9951a5f152237ba2d964665193812fbfb6f.tar.gz |
audio/samplv1: Updated for version 0.9.1, French man page.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/samplv1/samplv1.SlackBuild')
-rw-r--r-- | audio/samplv1/samplv1.SlackBuild | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/audio/samplv1/samplv1.SlackBuild b/audio/samplv1/samplv1.SlackBuild index 623294bf38..78aa890367 100644 --- a/audio/samplv1/samplv1.SlackBuild +++ b/audio/samplv1/samplv1.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=samplv1 -VERSION=${VERSION:-0.9.0} +VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,14 +76,25 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# 20180702 bkw: See comments in synthv1.SlackBuild to understand this. + # I dunno what this is actually for, but as of 0.8.5 it got moved. Move # it back to where it belongs, for Slack 14.2. [ -d $PKG/usr/share/metainfo ] && \ mv $PKG/usr/share/metainfo $PKG/usr/share/appdata +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 |