summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Fernandes Ferreira <candelabrus@gmail.com>2015-07-15 07:31:15 +0700
committerRobby Workman <rworkman@slackbuilds.org>2015-07-16 10:57:23 -0500
commit4ec636f5ef63cc3ba8d756bac0756ea1fa204bcb (patch)
tree9065c67af01f626594d06daf82f63ef30b5200bb
parent37ecfbef029de437d9bcc8b923c9249661dd8575 (diff)
downloadslackbuilds-4ec636f5ef63cc3ba8d756bac0756ea1fa204bcb.tar.gz
multimedia/spek: Add documentation.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--multimedia/spek/spek.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/spek/spek.SlackBuild b/multimedia/spek/spek.SlackBuild
index 99dbe10578..b349f59332 100644
--- a/multimedia/spek/spek.SlackBuild
+++ b/multimedia/spek/spek.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=spek
VERSION=${VERSION:-0.8.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -92,6 +92,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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 INSTALL* LICENCE* README* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc -type f -exec chmod 644 {} \;
+
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc