summaryrefslogtreecommitdiffstats
path: root/libraries/gupnp/gupnp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gupnp/gupnp.SlackBuild')
-rw-r--r--libraries/gupnp/gupnp.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/libraries/gupnp/gupnp.SlackBuild b/libraries/gupnp/gupnp.SlackBuild
index 40149ad17a..d907dfaa95 100644
--- a/libraries/gupnp/gupnp.SlackBuild
+++ b/libraries/gupnp/gupnp.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gupnp
-# Copyright 2016-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gupnp
-VERSION=${VERSION:-1.3.0}
+VERSION=${VERSION:-1.6.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -88,9 +85,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:
@@ -100,7 +95,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 NEWS README $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
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION