diff options
Diffstat (limited to 'network/tahoe-lafs/tahoe-lafs.SlackBuild')
-rw-r--r-- | network/tahoe-lafs/tahoe-lafs.SlackBuild | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/network/tahoe-lafs/tahoe-lafs.SlackBuild b/network/tahoe-lafs/tahoe-lafs.SlackBuild index 3d399b94e6c72..1dbce84a09fa1 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 |