From 652b9af867493747efe6e3481b397114c3fcd7dd Mon Sep 17 00:00:00 2001 From: B. Watson Date: Tue, 24 Aug 2021 03:58:50 -0400 Subject: system/pucrunch: Reflow README. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- system/pucrunch/README | 4 ++-- system/pucrunch/pucrunch.SlackBuild | 10 ++-------- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'system/pucrunch') diff --git a/system/pucrunch/README b/system/pucrunch/README index 355830462f..6efe3b695a 100644 --- a/system/pucrunch/README +++ b/system/pucrunch/README @@ -8,5 +8,5 @@ in decompression. The compressor can compress/decompress files for C64 (-c64), VIC20 (-c20), C16/+4 (-c16), or for standalone decompressor (-c0). -Assembly sources for example decompressors (for Commodore 64 and Nintendo -GameBoy) are included. +Assembly sources for example decompressors for Commodore 64 and Nintendo +GameBoy are included. diff --git a/system/pucrunch/pucrunch.SlackBuild b/system/pucrunch/pucrunch.SlackBuild index 751d190646..3db8411af8 100644 --- a/system/pucrunch/pucrunch.SlackBuild +++ b/system/pucrunch/pucrunch.SlackBuild @@ -27,9 +27,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 @@ -62,11 +59,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$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 {} \+ sed -i "s,-O,$SLKCFLAGS," Makefile make -- cgit v1.2.3