aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-09 17:23:25 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:12 +0700
commit639ce2632b4779315a4f927e3da6e7083286e216 (patch)
tree0de95dd0f39cb880bd480267f4e7cd9fccc07220 /graphics
parent3a2eba67861d566c77c69199c5750d019ec2cde5 (diff)
graphics/meh: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/meh/README2
-rw-r--r--graphics/meh/meh.SlackBuild10
-rw-r--r--graphics/meh/slack-desc2
3 files changed, 5 insertions, 9 deletions
diff --git a/graphics/meh/README b/graphics/meh/README
index 47f6078f4148..bd5ee48a1276 100644
--- a/graphics/meh/README
+++ b/graphics/meh/README
@@ -1,3 +1,5 @@
+meh (image viewer for X)
+
meh is a small, simple, super fast image viewer using raw XLib.
It is similar to feh, but faster and simpler.
diff --git a/graphics/meh/meh.SlackBuild b/graphics/meh/meh.SlackBuild
index 8ad18647483d..a06270ee2167 100644
--- a/graphics/meh/meh.SlackBuild
+++ b/graphics/meh/meh.SlackBuild
@@ -43,9 +43,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
@@ -78,11 +75,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 {} \+
# Fixes for giflib-5.1 from https://github.com/jhawthorn/meh
patch -p1 < $CWD/meh-giflib.patch
diff --git a/graphics/meh/slack-desc b/graphics/meh/slack-desc
index 6f3cadad53b3..20fa771db31b 100644
--- a/graphics/meh/slack-desc
+++ b/graphics/meh/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-meh: meh (image viewer)
+meh: meh (image viewer for X)
meh:
meh: meh is a small, simple, super fast image viewer using raw XLib.
meh: It is similar to feh, but faster and simpler.