diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-09 17:09:27 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:11 +0700 |
commit | 91eca18200eb52c6c6ba982ec4fc5b3234d9dae9 (patch) | |
tree | e7c543bf49854ce548e63fd61640f7fa86cc4523 /graphics/jpegoptim/jpegoptim.SlackBuild | |
parent | 52adb0d46190620889e0628c6ffa7415696a21dc (diff) |
graphics/jpegoptim: Expand README & slack-desc.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/jpegoptim/jpegoptim.SlackBuild')
-rw-r--r-- | graphics/jpegoptim/jpegoptim.SlackBuild | 38 |
1 files changed, 9 insertions, 29 deletions
diff --git a/graphics/jpegoptim/jpegoptim.SlackBuild b/graphics/jpegoptim/jpegoptim.SlackBuild index 7a3777c4948cf..2365eadabce1f 100644 --- a/graphics/jpegoptim/jpegoptim.SlackBuild +++ b/graphics/jpegoptim/jpegoptim.SlackBuild @@ -2,28 +2,14 @@ # Slackware build script for jpegoptim -# Originally written by: -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Originally written Ryan P.C. McQuen. +# Now maintained by B. Watson <yalhcru@gmail.com>. -# Now maintained by B. Watson (yalhcru@gmail.com) +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -# 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. - -# 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/>. +# 20210909 bkw: BUILD=2 +# - relicense as WTFPL, with permission from original author. +# - expand README and slack-desc. # 20180612 bkw: update for v1.4.6. @@ -36,7 +22,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jpegoptim VERSION=${VERSION:-1.4.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,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 @@ -83,11 +66,8 @@ rm -rf $PRGNAM-RELEASE.$VERSION tar xvf $CWD/$PRGNAM-RELEASE.$VERSION.tar.gz cd $PRGNAM-RELEASE.$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |