misc/wcd: Updated for version 6.0.4_beta2.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4c82c8a9b1
commit
84d08243a8
|
@ -2,28 +2,16 @@
|
||||||
|
|
||||||
# Slackware build script for wcd
|
# Slackware build script for wcd
|
||||||
|
|
||||||
# Originally written by:
|
# Originally written by Ryan P.C. McQuen <email removed>
|
||||||
# Ryan P.C. McQuen <email removed>
|
|
||||||
|
|
||||||
# Now maintained by B. Watson <yalhcru@gmail.com>
|
# Now maintained by B. Watson <yalhcru@gmail.com>
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2 of the License, or
|
|
||||||
# (at your option) any later version, with the following exception:
|
|
||||||
# the text of the GPL license may be omitted.
|
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful, but
|
# 20210910 bkw:
|
||||||
# without any warranty; without even the implied warranty of
|
# - updated for v6.0.4_beta2. there are no code changes in the beta,
|
||||||
# merchantability or fitness for a particular purpose. Compiling,
|
# only the documentation and translations have been updated, so
|
||||||
# interpreting, executing or merely reading the text of the program
|
# it's a safe upgrade that won't break anything.
|
||||||
# may result in lapses of consciousness and/or very being, up to and
|
# - relicense as WTFPL with permission from original author.
|
||||||
# including the end of all existence and the Universe as we know it.
|
|
||||||
# See the GNU General Public License for more details.
|
|
||||||
|
|
||||||
# You may have received a copy of the GNU General Public License along
|
|
||||||
# with this program (most likely, a file named COPYING). If not, see
|
|
||||||
# <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
# 20191201 bkw: updated for v6.0.3.
|
# 20191201 bkw: updated for v6.0.3.
|
||||||
# 20180612 bkw: updated for v6.0.2.
|
# 20180612 bkw: updated for v6.0.2.
|
||||||
|
@ -33,7 +21,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=wcd
|
PRGNAM=wcd
|
||||||
VERSION=${VERSION:-6.0.3}
|
VERSION=${VERSION:-6.0.4_beta2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -46,9 +34,6 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -60,12 +45,14 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
TARVER=${VERSION/_/-}
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$TARVER
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/$PRGNAM-$TARVER.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$TARVER
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="wcd"
|
PRGNAM="wcd"
|
||||||
VERSION="6.0.3"
|
VERSION="6.0.4_beta2"
|
||||||
HOMEPAGE="http://waterlan.home.xs4all.nl/"
|
HOMEPAGE="https://waterlan.home.xs4all.nl/"
|
||||||
DOWNLOAD="http://waterlan.home.xs4all.nl/wcd/wcd-6.0.3.tar.gz"
|
DOWNLOAD="https://waterlan.home.xs4all.nl/wcd/wcd-6.0.4-beta2.tar.gz"
|
||||||
MD5SUM="833dec747e810aacc060f7ef50fade85"
|
MD5SUM="8640752eecfb07058ceb2a85965800e4"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in New Issue