libraries/uriparser: Fix docs installation errors.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2018-01-17 12:42:07 +01:00
parent 2b2a6afbfb
commit 5cfc4e2df8

View file

@ -2,7 +2,7 @@
# Slackware build script for uriparser
# Copyright 2015-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright 2015-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=uriparser
VERSION=${VERSION:-0.8.4}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -71,6 +71,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 {} \;
# fix docs installation errors - thanks fedora!
sed -i -e 's,html/\*.map\ ,,g' doc/Makefile.in
sed -i -e 's,-\$(INSTALL_DATA) \*.qch "$(DESTDIR)\$(docdir)/",,g' doc/Makefile.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \