diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2018-02-28 08:45:05 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-28 08:45:05 +0700 |
commit | 164efb0ba89af2ac14eea4f326aae9f13060bc68 (patch) | |
tree | 5c5651ffc0727d5b518d24b7763859a668b6209f | |
parent | 1f3223a5264d78f8e1db1be0f18e6679b58f1c53 (diff) |
libraries/libmspub: Updated for version 0.1.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/libmspub/README | 3 | ||||
-rw-r--r-- | libraries/libmspub/libmspub.SlackBuild | 18 | ||||
-rw-r--r-- | libraries/libmspub/libmspub.info | 6 |
3 files changed, 13 insertions, 14 deletions
diff --git a/libraries/libmspub/README b/libraries/libmspub/README index 368c995f3643..7816499249e0 100644 --- a/libraries/libmspub/README +++ b/libraries/libmspub/README @@ -2,4 +2,5 @@ Libmspub is an import filter library for Microsoft Publisher files, based on librevenge. It can import .pub files of all Microsoft Publisher versions. It is a part of the Document Liberation Project. -To build the doxygen html documentation use DOC="yes". +To build the doxygen html documentation use: + DOC="yes" ./libmspub.SlackBuild diff --git a/libraries/libmspub/libmspub.SlackBuild b/libraries/libmspub/libmspub.SlackBuild index e100914751c6..7ac31f710070 100644 --- a/libraries/libmspub/libmspub.SlackBuild +++ b/libraries/libmspub/libmspub.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libmspub -# Copyright 2015 Hunter Sezen California, USA +# Copyright 2015, 2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libmspub -VERSION=${VERSION:-0.1.2} +VERSION=${VERSION:-0.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -69,12 +69,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -DOC=${DOC:-no} -if [ ! "$DOC" = "yes" ]; then - doc="--without-docs" -else - doc="" -fi +case "${DOC:-0}" in + 0) doc='--without-docs' ;; + *) doc='--with-docs' ;; +esac CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -92,7 +90,7 @@ 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 -cp -a AUTHORS COPYING* ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING.MPL ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libmspub/libmspub.info b/libraries/libmspub/libmspub.info index 5976c995e3a4..439bb2629c62 100644 --- a/libraries/libmspub/libmspub.info +++ b/libraries/libmspub/libmspub.info @@ -1,8 +1,8 @@ PRGNAM="libmspub" -VERSION="0.1.2" +VERSION="0.1.3" HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libmspub" -DOWNLOAD="http://dev-www.libreoffice.org/src/libmspub/libmspub-0.1.2.tar.xz" -MD5SUM="050b8b29c2620fdbfb5d8561d4d08a11" +DOWNLOAD="http://dev-www.libreoffice.org/src/libmspub/libmspub-0.1.3.tar.xz" +MD5SUM="1798757173629a224aeb383365a633f8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |