aboutsummaryrefslogtreecommitdiff
path: root/libraries/libwps
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-08-16 22:59:57 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-19 07:10:45 +0700
commit5acf349929860f8001906927a28aa31bcfba68fe (patch)
tree6c26cd94d84d6c5ff48a1f6098dd17f49c27989b /libraries/libwps
parentd6e5cefb1df547a227147488d66d83864d92fdef (diff)
libraries/libwps: Updated for version 0.4.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libwps')
-rw-r--r--libraries/libwps/README3
-rw-r--r--libraries/libwps/libwps.SlackBuild15
-rw-r--r--libraries/libwps/libwps.info8
-rw-r--r--libraries/libwps/slack-desc2
4 files changed, 14 insertions, 14 deletions
diff --git a/libraries/libwps/README b/libraries/libwps/README
index e2b3a59c332bf..ae17ce1ef57aa 100644
--- a/libraries/libwps/README
+++ b/libraries/libwps/README
@@ -6,4 +6,5 @@ scope of this project is just a Works word processor import filter,
so there are no plans for supporting an export filter, spreadsheets,
or databases. 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".
diff --git a/libraries/libwps/libwps.SlackBuild b/libraries/libwps/libwps.SlackBuild
index 6374bc6c79ca3..f517178804a6f 100644
--- a/libraries/libwps/libwps.SlackBuild
+++ b/libraries/libwps/libwps.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libwps
-VERSION=${VERSION:-0.4.5}
+VERSION=${VERSION:-0.4.7}
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:-no}" in
+ yes) doc='--with-docs' ;;
+ *) doc='--without-docs' ;;
+esac
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,6 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-werror \
--build=$ARCH-slackware-linux \
$doc
diff --git a/libraries/libwps/libwps.info b/libraries/libwps/libwps.info
index 34dc28aabef55..758ccb1984e04 100644
--- a/libraries/libwps/libwps.info
+++ b/libraries/libwps/libwps.info
@@ -1,8 +1,8 @@
PRGNAM="libwps"
-VERSION="0.4.5"
-HOMEPAGE="http://libwps.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/libwps/files/libwps/libwps-0.4.5/libwps-0.4.5.tar.xz"
-MD5SUM="826670449a584eda689b384232334838"
+VERSION="0.4.7"
+HOMEPAGE="https://sourceforge.net/p/libwps/wiki/Home/"
+DOWNLOAD="https://sourceforge.net/projects/libwps/files/libwps/libwps-0.4.7/libwps-0.4.7.tar.xz"
+MD5SUM="6a1337edf74ff92de1148cd570ca88d2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libwps/slack-desc b/libraries/libwps/slack-desc
index 23d57d7c17888..368b57b4c8781 100644
--- a/libraries/libwps/slack-desc
+++ b/libraries/libwps/slack-desc
@@ -11,7 +11,7 @@ libwps:
libwps: Libwps is a library (for use by word procesors, for example) for
libwps: importing the Microsoft Works word processor file format.
libwps:
-libwps: Homepage: http://libwps.sourceforge.net/
+libwps: Homepage: https://sourceforge.net/p/libwps/wiki/Home/
libwps:
libwps:
libwps: