summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-16 15:16:36 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:27:24 +0700
commit982ac890ccdd026b25b4f3feae2fd704028341b4 (patch)
tree973da9635ca3f1d22cc9f454034a9d3c392e2cdb /desktop
parent38717a89521d58cb01f3459c277e64cfbce17906 (diff)
downloadslackbuilds-982ac890ccdd026b25b4f3feae2fd704028341b4.tar.gz
desktop/ssr: Fixed manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/ssr/ssr.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/ssr/ssr.SlackBuild b/desktop/ssr/ssr.SlackBuild
index 8e6b4cfbc9..a520625160 100644
--- a/desktop/ssr/ssr.SlackBuild
+++ b/desktop/ssr/ssr.SlackBuild
@@ -85,6 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--disable-assert \
$jack \
$pulseaudio \
@@ -96,6 +97,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG.md COPYING notes.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild