aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-05-03 00:21:41 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-05 08:23:05 +0700
commitbe9729a89b36b20772acfeb6c85138e07a72c914 (patch)
tree09410bc87c503c5cfb433e31f13d73059b883459 /ham
parent0db4debdfb3e6482b9b71fb9c409b0eeb6522705 (diff)
ham/qrq: Fixup man and doc installation
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'ham')
-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 9e5d29212d7f..4f1ef7b35426 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