aboutsummaryrefslogtreecommitdiff
path: root/system/em
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-03-31 19:21:33 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-05 15:18:00 +0700
commit1e5da3a8c7120edcc95728f9e4c29a2be3174e9f (patch)
treedeec936563061bf6f9c7167c131be074e03518ba /system/em
parent419eba9480421bedf789614113e5307e6f687bbe (diff)
system/em: Fix github URL, README/slack-desc typo.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/em')
-rw-r--r--system/em/README2
-rw-r--r--system/em/em.SlackBuild9
-rw-r--r--system/em/em.info2
-rw-r--r--system/em/slack-desc2
4 files changed, 6 insertions, 9 deletions
diff --git a/system/em/README b/system/em/README
index e8976832500b1..bcecf3313f520 100644
--- a/system/em/README
+++ b/system/em/README
@@ -2,5 +2,5 @@ Em is a terminal tool that prints FILE(s), or standard input to
standard output and highlights the expressions that are matched
the PATTERN.
-The expression will be highlighted iff stdout refers to the tty
+The expression will be highlighted if stdout refers to a tty
and that tty is ANSI-compatible.
diff --git a/system/em/em.SlackBuild b/system/em/em.SlackBuild
index 09c1e47670f11..d9e087a51ee31 100644
--- a/system/em/em.SlackBuild
+++ b/system/em/em.SlackBuild
@@ -38,9 +38,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
@@ -75,11 +72,11 @@ 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 \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/system/em/em.info b/system/em/em.info
index 3e24f09c4e57e..8c09ee0b205ad 100644
--- a/system/em/em.info
+++ b/system/em/em.info
@@ -1,7 +1,7 @@
PRGNAM="em"
VERSION="0.4"
HOMEPAGE="http://em.readthedocs.org/"
-DOWNLOAD="https://github.com/ikalnitsky/em/archive/0.4.tar.gz"
+DOWNLOAD="https://github.com/ikalnitsky/em/archive/0.4/em-0.4.tar.gz"
MD5SUM="a1ab1d1d87491e1881657817492e80bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/system/em/slack-desc b/system/em/slack-desc
index 8521f01376324..2b6d485eb6f97 100644
--- a/system/em/slack-desc
+++ b/system/em/slack-desc
@@ -12,7 +12,7 @@ em: Em is a terminal tool that prints FILE(s), or standard input
em: to standard output and highlights the expressions that are
em: matched the PATTERN.
em:
-em: The expression will be highlighted iff the terminal is
+em: The expression will be highlighted if the terminal is
em: is ANSI-compatible.
em:
em: Homepage: http://em.readthedocs.org/