diff options
Diffstat (limited to 'office/diction')
-rw-r--r-- | office/diction/diction.SlackBuild | 11 | ||||
-rw-r--r-- | office/diction/diction.info | 4 |
2 files changed, 8 insertions, 7 deletions
diff --git a/office/diction/diction.SlackBuild b/office/diction/diction.SlackBuild index 9c7530ecb6..c3e70fa1cf 100644 --- a/office/diction/diction.SlackBuild +++ b/office/diction/diction.SlackBuild @@ -2,15 +2,17 @@ # Slackware build script for diction -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # 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?/*.? diff --git a/office/diction/diction.info b/office/diction/diction.info index 42287d84af..c68959524e 100644 --- a/office/diction/diction.info +++ b/office/diction/diction.info @@ -1,10 +1,10 @@ PRGNAM="diction" VERSION="1.14" HOMEPAGE="https://www.gnu.org/software/diction/diction.html" -DOWNLOAD="http://www.moria.de/~michael/diction/diction-1.14.tar.gz" +DOWNLOAD="http://www.moria.de/~michael/comp/diction/diction-1.14.tar.gz" MD5SUM="2a162c2ae7cb4a28e9471dd756b38019" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" |