summaryrefslogtreecommitdiff
path: root/libraries/Botan/Botan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Botan/Botan.SlackBuild')
-rw-r--r--libraries/Botan/Botan.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/libraries/Botan/Botan.SlackBuild b/libraries/Botan/Botan.SlackBuild
index 211ccc7234..441db43ddc 100644
--- a/libraries/Botan/Botan.SlackBuild
+++ b/libraries/Botan/Botan.SlackBuild
@@ -26,7 +26,7 @@
# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
PRGNAM=Botan
-VERSION=${VERSION:-1.11.31}
+VERSION=${VERSION:-1.11.34}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,6 +90,14 @@ make install
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
+cp -a readme.rst doc/*.rst $PKG/usr/doc/$PRGNAMI-$VERSION/
+
+if [ -e /usr/bin/sphinx-build ]; then
+ rm $PKG/usr/doc/$PRGNAMI-$VERSION/manual/{.buildinfo,objects.inv}
+ rm -drf $PKG/usr/doc/$PRGNAMI-$VERSION/manual/_sources
+ rm -drf $PKG/usr/doc/$PRGNAMI-$VERSION/manual/.doctrees
+fi
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAMI-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install