summaryrefslogtreecommitdiff
path: root/system/pucrunch
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-24 03:58:50 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:37 +0700
commit652b9af867493747efe6e3481b397114c3fcd7dd (patch)
treeadffae2d73f732e4344b6b34fedd60d913f14c86 /system/pucrunch
parentbbd97da14600819e37110f35495502c066e6c4b5 (diff)
downloadslackbuilds-652b9af867493747efe6e3481b397114c3fcd7dd.tar.gz
system/pucrunch: Reflow README.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/pucrunch')
-rw-r--r--system/pucrunch/README4
-rw-r--r--system/pucrunch/pucrunch.SlackBuild10
2 files changed, 4 insertions, 10 deletions
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