aboutsummaryrefslogtreecommitdiff
path: root/python/stem/stem.SlackBuild
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2014-12-24 13:09:01 -0600
committerRobby Workman <rworkman@slackbuilds.org>2014-12-25 02:10:30 -0600
commitf6b5b124455a5b83e233a2a89f118b3df189d805 (patch)
treeac2c353dc841e99ae44d4af25e10c0a76a6b5775 /python/stem/stem.SlackBuild
parent381b9c04e650c1d2f4d2d1cd5ea0ded77ebfb9ad (diff)
python/stem: Updated for version 1.3.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python/stem/stem.SlackBuild')
-rw-r--r--python/stem/stem.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/stem/stem.SlackBuild b/python/stem/stem.SlackBuild
index 20f3e549555b..c083702c7884 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/*