diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-26 17:56:59 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:28 +0700 |
commit | e4046b92fa4c7dd27263d5608ed90237d0386ded (patch) | |
tree | 6598d932df79bb4a4574b20f2d9842ffb0a9865c /office | |
parent | 9a2e79831ed1d1c7b7d03b6d62a96c129f01ee0d (diff) |
office/diction: Minor man page fix.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/diction/diction.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/office/diction/diction.SlackBuild b/office/diction/diction.SlackBuild index 9c7530ecb618d..c405237131d00 100644 --- a/office/diction/diction.SlackBuild +++ b/office/diction/diction.SlackBuild @@ -6,11 +6,13 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210926 bkw: ${prefix} => /usr in man page. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=diction VERSION=${VERSION:-1.14} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +24,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 @@ -60,6 +59,7 @@ 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 {} \+ + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -73,6 +73,7 @@ CXXFLAGS="$SLKCFLAGS" \ make strip $PRGNAM style +sed -i 's,\${prefix},/usr,g' $PRGNAM.1 make install DESTDIR=$PKG gzip $PKG/usr/man/man?/*.? |