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
|
||||
|
||||
# Originally written by:
|
||||
# Ryan P.C. McQuen <email removed>
|
||||
|
||||
# Originally written by Ryan P.C. McQuen <email removed>
|
||||
# Now maintained by B. Watson <yalhcru@gmail.com>
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# 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.
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# without any warranty; without even the implied warranty of
|
||||
# merchantability or fitness for a particular purpose. Compiling,
|
||||
# interpreting, executing or merely reading the text of the program
|
||||
# may result in lapses of consciousness and/or very being, up to and
|
||||
# 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/>.
|
||||
# 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
|
||||
# it's a safe upgrade that won't break anything.
|
||||
# - relicense as WTFPL with permission from original author.
|
||||
|
||||
# 20191201 bkw: updated for v6.0.3.
|
||||
# 20180612 bkw: updated for v6.0.2.
|
||||
|
@ -33,7 +21,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=wcd
|
||||
VERSION=${VERSION:-6.0.3}
|
||||
VERSION=${VERSION:-6.0.4_beta2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -46,9 +34,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,12 +45,14 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
set -e
|
||||
|
||||
TARVER=${VERSION/_/-}
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM-$TARVER
|
||||
tar xvf $CWD/$PRGNAM-$TARVER.tar.gz
|
||||
cd $PRGNAM-$TARVER
|
||||
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 {} \+
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="wcd"
|
||||
VERSION="6.0.3"
|
||||
HOMEPAGE="http://waterlan.home.xs4all.nl/"
|
||||
DOWNLOAD="http://waterlan.home.xs4all.nl/wcd/wcd-6.0.3.tar.gz"
|
||||
MD5SUM="833dec747e810aacc060f7ef50fade85"
|
||||
VERSION="6.0.4_beta2"
|
||||
HOMEPAGE="https://waterlan.home.xs4all.nl/"
|
||||
DOWNLOAD="https://waterlan.home.xs4all.nl/wcd/wcd-6.0.4-beta2.tar.gz"
|
||||
MD5SUM="8640752eecfb07058ceb2a85965800e4"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue