diff options
Diffstat (limited to 'misc/wcd/wcd.SlackBuild')
-rw-r--r-- | misc/wcd/wcd.SlackBuild | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/misc/wcd/wcd.SlackBuild b/misc/wcd/wcd.SlackBuild index c7054210d0..cb4f7cd453 100644 --- a/misc/wcd/wcd.SlackBuild +++ b/misc/wcd/wcd.SlackBuild @@ -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. - -# 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. +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for 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 {} \+ |