summaryrefslogtreecommitdiff
path: root/network/tahoe-lafs/tahoe-lafs.SlackBuild
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2016-12-22 22:27:08 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-22 22:27:08 +0000
commitb5f42de5d16a23e68ea188609a8fb5d4cb388993 (patch)
treed988700b51693123426ce4a466d3179ad55eb876 /network/tahoe-lafs/tahoe-lafs.SlackBuild
parent82d8c0ed2c7265c95c398b78cf9363dc19a446b3 (diff)
downloadslackbuilds-b5f42de5d16a23e68ea188609a8fb5d4cb388993.tar.gz
network/tahoe-lafs: Updated for version 1.12.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/tahoe-lafs/tahoe-lafs.SlackBuild')
-rw-r--r--network/tahoe-lafs/tahoe-lafs.SlackBuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/network/tahoe-lafs/tahoe-lafs.SlackBuild b/network/tahoe-lafs/tahoe-lafs.SlackBuild
index 3d399b94e6..1dbce84a09 100644
--- a/network/tahoe-lafs/tahoe-lafs.SlackBuild
+++ b/network/tahoe-lafs/tahoe-lafs.SlackBuild
@@ -22,12 +22,9 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Originally written by Marco Bonetti - Thanks!
-# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
PRGNAM=tahoe-lafs
-VERSION=${VERSION:-1.11.0}
+VERSION=${VERSION:-1.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,12 +76,21 @@ 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 $PKG/usr/man/man1
-cp -a COPYING.* *.txt NEWS.* CREDITS misc docs $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING.* *.txt NEWS.* README.* CREDITS docs misc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/doc/$PRGNAM-$VERSION/docs/man/man1/tahoe.1 $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man1/tahoe.1
-rmdir $PKG/usr/doc/$PRGNAM-$VERSION/docs/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION/docs/man
+rm -drf $PKG/usr/doc/$PRGNAM-$VERSION/docs/man
+
+if [ -e /usr/bin/sphinx-build ]; then
+ cd $TMP/$PRGNAM-$VERSION/docs
+ make html
+ cp -a _build/html $PKG/usr/doc/$PRGNAM-$VERSION
+ rm $PKG/usr/doc/$PRGNAM-$VERSION/html/{.buildinfo,objects.inv}
+ rm -drf $PKG/usr/doc/$PRGNAM-$VERSION/docs
+ rm -drf $PKG/usr/doc/$PRGNAM-$VERSION/html/_sources
+fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc