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>
This commit is contained in:
parent
a25037ce5e
commit
152a9940d7
|
@ -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 \
|
||||
prefix=$PKG/usr \
|
||||
docdir=$PKG/usr/doc/$PRGNAM-$VERSION \
|
||||
mandir=$PKG/usr/man \
|
||||
install
|
||||
make RPM_OPT_FLAGS="$SLKCFLAGS" EXT=""
|
||||
|
||||
# remove .exe so command is executable
|
||||
mv $PKG/usr/bin/wcd.exe $PKG/usr/bin/wcd
|
||||
make \
|
||||
INSTALL_PROGRAM="install -m 0755 -s" \
|
||||
DESTDIR=$PKG \
|
||||
EXT="" \
|
||||
prefix=/usr \
|
||||
docdir=$DOCDIR \
|
||||
mandir=/usr/man \
|
||||
install
|
||||
|
||||
# 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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue