summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2022-02-07 15:49:52 +0100
committer Willy Sudiarto Raharjo2022-02-07 17:04:39 +0100
commit11a6b887543928bd8ad48a41d35ab253616c5f1d (patch)
tree0b98bf91b4a34c527fdbbabef7a341d5fc93a7a2
parent096ed059c39c9fee6ef8b2821091532cd31361e3 (diff)
downloadslackbuilds-11a6b887543928bd8ad48a41d35ab253616c5f1d.tar.gz
libraries/gupnp: Fix for no man pages.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/gupnp/README2
-rw-r--r--libraries/gupnp/gupnp.SlackBuild7
2 files changed, 1 insertions, 8 deletions
diff --git a/libraries/gupnp/README b/libraries/gupnp/README
index 2501ac7b54..c826776106 100644
--- a/libraries/gupnp/README
+++ b/libraries/gupnp/README
@@ -4,5 +4,3 @@ creating UPnP devices and control points.
The GUPnP API is intended to be easy to use, efficient and flexible.
It provides the same set of features as libupnp, but shields the
developer from most of UPnP's internals.
-
-Note: Vala is an optional dependency
diff --git a/libraries/gupnp/gupnp.SlackBuild b/libraries/gupnp/gupnp.SlackBuild
index a159762007..8ddccdbed9 100644
--- a/libraries/gupnp/gupnp.SlackBuild
+++ b/libraries/gupnp/gupnp.SlackBuild
@@ -88,9 +88,7 @@ meson --prefix=/usr \
--libdir=lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
../
-"${NINJA:=ninja}"
-$NINJA
-DESTDIR=$PKG $NINJA install
+DESTDIR=$PKG "${NINJA:=ninja}" install
cd ..
# Don't ship .la files:
@@ -99,9 +97,6 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild