summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2014-05-03 05:21:41 (GMT)
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-05 01:23:05 (GMT)
commitbe9729a89b36b20772acfeb6c85138e07a72c914 (patch)
tree09410bc87c503c5cfb433e31f13d73059b883459
parent0db4debdfb3e6482b9b71fb9c409b0eeb6522705 (diff)
downloadslackbuilds-be9729a89b36b20772acfeb6c85138e07a72c914.tar.gz
slackbuilds-be9729a89b36b20772acfeb6c85138e07a72c914.tar.xz
ham/qrq: Fixup man and doc installation
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--ham/qrq/qrq.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/ham/qrq/qrq.SlackBuild b/ham/qrq/qrq.SlackBuild
index 9e5d292..4f1ef7b 100644
--- a/ham/qrq/qrq.SlackBuild
+++ b/ham/qrq/qrq.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=qrq
VERSION=0.3.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,9 +71,11 @@ find -L . \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/bin
-mkdir -p $PKG/usr/share/man/man1
+mkdir -p $PKG/usr/man/man1
-sed -i "s|^CFLAGS\:=\$(CFLAGS)|CFLAGS:=$SLKCFLAGS|" Makefile
+sed -i Makefile \
+ -e "s|^CFLAGS\:=\$(CFLAGS)|CFLAGS:=$SLKCFLAGS|" \
+ -e "s|/share/man|/man|g"
make USE_PA=NO USE_CA=NO OSX_PLATFORM=NO OSX_BUNDLE=NO
make install DESTDIR=$PKG/usr USE_PA=NO USE_CA=NO OSX_PLATFORM=NO OSX_BUNDLE=NO
@@ -81,10 +83,11 @@ make install DESTDIR=$PKG/usr USE_PA=NO USE_CA=NO OSX_PLATFORM=NO OSX_BUNDLE=NO
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-#cp -a CHANGELOG INSTALL LICENSE NOTES samples $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc