summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-14 01:30:04 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:11:27 +0700
commit66ce83f18eb1029a758b6e993e510722e4d6f91d (patch)
tree8ad565c363c345d2d1b60e7f997f10972dfb9ac3 /system
parent6551724f19cf004735a9daae6e248c96b0705ccb (diff)
downloadslackbuilds-66ce83f18eb1029a758b6e993e510722e4d6f91d.tar.gz
system/xorgxrdp: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/xorgxrdp/xorgxrdp.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/system/xorgxrdp/xorgxrdp.SlackBuild b/system/xorgxrdp/xorgxrdp.SlackBuild
index 53c6781296..de59d724ad 100644
--- a/system/xorgxrdp/xorgxrdp.SlackBuild
+++ b/system/xorgxrdp/xorgxrdp.SlackBuild
@@ -4,11 +4,14 @@
# Inspired by Phillip Warner <pc_warner@yahoo.com>
# Written by David Allen <david.a58@optusnet.com.au>
+# 20220414 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add SlackBuild to doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xorgxrdp
VERSION=${VERSION:-0.2.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -20,9 +23,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
@@ -57,9 +57,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# uses autoreconf now
autoreconf -vfi
@@ -77,13 +77,11 @@ CPPFLAGS="$SLKCFLAGS" \
--disable-static
make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc