summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-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 e2b3a59c33..ae17ce1ef5 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 6374bc6c79..f517178804 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 34dc28aabe..758ccb1984 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 23d57d7c17..368b57b4c8 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: