diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-09 17:18:13 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:11 +0700 |
commit | 67b0887549837affa04a1315c80af9dbce26ca0e (patch) | |
tree | 25d6a8e0f2d2d5cdc1eb409596655f2bfb9f54d9 /graphics | |
parent | 91eca18200eb52c6c6ba982ec4fc5b3234d9dae9 (diff) | |
download | slackbuilds-67b0887549837affa04a1315c80af9dbce26ca0e.tar.gz |
graphics/lddot: Install man page correctly.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/lddot/README | 11 | ||||
-rw-r--r-- | graphics/lddot/lddot.SlackBuild | 11 | ||||
-rw-r--r-- | graphics/lddot/lddot.info | 2 |
3 files changed, 14 insertions, 10 deletions
diff --git a/graphics/lddot/README b/graphics/lddot/README index 996fdad914..d3d9b2b742 100644 --- a/graphics/lddot/README +++ b/graphics/lddot/README @@ -2,14 +2,17 @@ lddot (graphically display shared library dependencies) lddot is a wrapper over ldd, which produces output in Graphviz format. -Although not strictly required for lddot to run, it's *highly* recommended -to install graphviz and/or graph-easy. One of these will be required to -convert lddot's output into a visible graph. +Although not strictly required for lddot to run, it's *highly* +recommended to install graphviz and/or graph-easy. One of these will +be required to convert lddot's output into a visible graph. Examples: -# Replace "boxart" with "ascii" if your terminal doesn't support Unicode. +# Replace boxart with ascii, if your terminal doesn't support Unicode. lddot /bin/bash | graph-easy --as boxart # This looks like the Death Star. lddot /usr/bin/xterm | circo -Tpng > graph.png + +Note: the example in the man page requires a terminal at least 120 +columns wide, to format correctly. diff --git a/graphics/lddot/lddot.SlackBuild b/graphics/lddot/lddot.SlackBuild index 5060143b30..9c1cf64e7c 100644 --- a/graphics/lddot/lddot.SlackBuild +++ b/graphics/lddot/lddot.SlackBuild @@ -6,19 +6,18 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210909 bkw: BUILD=2, actually install the man page in /usr/man. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lddot VERSION=${VERSION:-0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -# 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 @@ -40,8 +39,10 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -mkdir -p $PKG/usr/bin +mkdir -p $PKG/usr/bin $PKG/usr/man/man1 install -m0755 $PRGNAM $PKG/usr/bin +gzip -9c < doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz +rm -f doc/$PRGNAM.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a doc/* $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/graphics/lddot/lddot.info b/graphics/lddot/lddot.info index ae78aec650..51dbadff5c 100644 --- a/graphics/lddot/lddot.info +++ b/graphics/lddot/lddot.info @@ -1,6 +1,6 @@ PRGNAM="lddot" VERSION="0.2" -HOMEPAGE="http://jwilk.net/software/lddot" +HOMEPAGE="https://jwilk.net/software/lddot" DOWNLOAD="https://github.com/jwilk/lddot/releases/download/0.2/lddot-0.2.tar.gz" MD5SUM="d1c274a39208357ec963c33094bdccae" DOWNLOAD_x86_64="" |