summaryrefslogtreecommitdiff
path: root/desktop/wmcube/wmcube.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmcube/wmcube.SlackBuild')
-rw-r--r--desktop/wmcube/wmcube.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/desktop/wmcube/wmcube.SlackBuild b/desktop/wmcube/wmcube.SlackBuild
index e72c2e7413..537a1fd2e7 100644
--- a/desktop/wmcube/wmcube.SlackBuild
+++ b/desktop/wmcube/wmcube.SlackBuild
@@ -6,7 +6,7 @@
# Modified by the SlackBuilds.org project.
PRGNAM=wmcube
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,6 @@ find -L . \
cd wmcube
make
-# make install
mkdir -p $PKG/usr/bin
cp -p wmcube $PKG/usr/bin
cd -
@@ -66,9 +65,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES COPYING INSTALL README THANKS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/man/man1
+cp -a wmcube/wmcube.1 $PKG/usr/man/man1
+
+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/3D-objects
cp -p 3D-objects/* $PKG/usr/doc/$PRGNAM-$VERSION/3D-objects