diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-03 15:25:34 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-07 08:13:43 +0700 |
commit | 152a9940d789daffb390ba820e34aab76a52a775 (patch) | |
tree | 4fc4af058ceb78d6ad422e385825a09eea3e9754 /misc/wcd | |
parent | a25037ce5e2c5f290fe63b5cd78c323405ce36ee (diff) |
misc/wcd: Updated for version 6.0.5_beta3.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/wcd')
-rw-r--r-- | misc/wcd/wcd.SlackBuild | 34 | ||||
-rw-r--r-- | misc/wcd/wcd.info | 6 |
2 files changed, 21 insertions, 19 deletions
diff --git a/misc/wcd/wcd.SlackBuild b/misc/wcd/wcd.SlackBuild index fc8f8539746ab..ef326366a8a9f 100644 --- a/misc/wcd/wcd.SlackBuild +++ b/misc/wcd/wcd.SlackBuild @@ -7,6 +7,9 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230103 bkw: updated for v6.0.5_beta3. again, no code changes, +# only translations. + # 20210910 bkw: # - updated for v6.0.4_beta2. there are no code changes in the beta, # only the documentation and translations have been updated, so @@ -21,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wcd -VERSION=${VERSION:-6.0.4_beta2} +VERSION=${VERSION:-6.0.5_beta3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -47,6 +50,9 @@ set -e TARVER=${VERSION/_/-} +DOCDIR=/usr/doc/$PRGNAM-$VERSION +PKGDOC=$PKG/$DOCDIR + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -73,34 +79,30 @@ fi cd src -RPM_OPT_FLAGS="$SLKCFLAGS" \ - make all +make RPM_OPT_FLAGS="$SLKCFLAGS" EXT="" + make \ - prefix=$PKG/usr \ - docdir=$PKG/usr/doc/$PRGNAM-$VERSION \ - mandir=$PKG/usr/man \ + INSTALL_PROGRAM="install -m 0755 -s" \ + DESTDIR=$PKG \ + EXT="" \ + prefix=/usr \ + docdir=$DOCDIR \ + mandir=/usr/man \ install -# remove .exe so command is executable -mv $PKG/usr/bin/wcd.exe $PKG/usr/bin/wcd - # Put _all_ man pages under usr/man mv $PKG/usr/share/man/* $PKG/usr/man rmdir $PKG/usr/share/man -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +gzip -9 $PKG/usr/man/{*,}/man1/*.1 # profile.d scripts, installed executable (like mc does). mkdir -p $PKG/etc/profile.d/ install -m0755 -oroot -groot \ $CWD/$PRGNAM.sh $CWD/$PRGNAM.csh $PKG/etc/profile.d/ -cp -a ../doc/INSTALL.txt $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild +rm -f $PKGDOC/{INSTALL,UNIX}.txt # remove compile instructions (useless) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/misc/wcd/wcd.info b/misc/wcd/wcd.info index 735ffdccf73d7..7274ae291b1dd 100644 --- a/misc/wcd/wcd.info +++ b/misc/wcd/wcd.info @@ -1,8 +1,8 @@ PRGNAM="wcd" -VERSION="6.0.4_beta2" +VERSION="6.0.5_beta3" HOMEPAGE="https://waterlan.home.xs4all.nl/" -DOWNLOAD="https://waterlan.home.xs4all.nl/wcd/wcd-6.0.4-beta2.tar.gz" -MD5SUM="8640752eecfb07058ceb2a85965800e4" +DOWNLOAD="https://waterlan.home.xs4all.nl/wcd/wcd-6.0.5-beta3.tar.gz" +MD5SUM="2da3c46de9bc3083cc244bda7c15f4e0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |