summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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