diff options
Diffstat (limited to 'graphics/pngcheck/pngcheck.SlackBuild')
-rw-r--r-- | graphics/pngcheck/pngcheck.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/pngcheck/pngcheck.SlackBuild b/graphics/pngcheck/pngcheck.SlackBuild index 410bc214a4..4e90a23369 100644 --- a/graphics/pngcheck/pngcheck.SlackBuild +++ b/graphics/pngcheck/pngcheck.SlackBuild @@ -9,10 +9,12 @@ # I've been using this for ages, off and on, and was kinda shocked I'd # never done a SBo build for it. So here it is. +# 20250617 bkw: update for 4.0.0, new homepage. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pngcheck -VERSION=${VERSION:-3.0.3} +VERSION=${VERSION:-4.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -56,8 +58,12 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod -h 755 {} + -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod -h 644 {} + +# 20250617 bkw: the CERRORS="-Wall" turns off the default -Werror. +# Why does anyone ship release code with -Werror enabled? *Especially* +# when the code actually *has* warnings?! + sed -i "/^CFLAGS/s,-O,$SLKCFLAGS," Makefile.unx -make ZINC=" " ZLIB=-lz -f Makefile.unx +make ZINC=" " ZLIB=-lz CERRORS="-Wall" -f Makefile.unx # no 'make install', but dead simple. PKGBIN=$PKG/usr/bin @@ -71,7 +77,7 @@ gzip -9 $PKGMAN1/* PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKGDOC -cp -a CHANGELOG LICENSE gpl/COPYING README $PKGDOC +cp -a CHANGELOG* LICENSE* gpl/COPYING* README* $PKGDOC cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install |