diff options
Diffstat (limited to 'python/stem/stem.SlackBuild')
-rw-r--r-- | python/stem/stem.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/python/stem/stem.SlackBuild b/python/stem/stem.SlackBuild index 20f3e549555..c083702c788 100644 --- a/python/stem/stem.SlackBuild +++ b/python/stem/stem.SlackBuild @@ -24,7 +24,7 @@ # Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115 PRGNAM=stem -VERSION=${VERSION:-1.2.2} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,17 +77,18 @@ cd $TMP/$PRGNAM-$VERSION find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/man/man1 +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs/ LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild if [ "$DOC" = "yes" ]; then + mkdir -p $PKG/usr/man/man1 cd $TMP/$PRGNAM-$VERSION/docs make html make man cp -a _build/html $PKG/usr/doc/$PRGNAM-$VERSION rm $PKG/usr/doc/$PRGNAM-$VERSION/html/{.buildinfo,objects.inv} - cp -a _build/man $PKG/usr/man/man1 + cp -a _build/man/* $PKG/usr/man/man1 find $PKG/usr/man/man1 -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man1 -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/docs/* |