From 1e5da3a8c7120edcc95728f9e4c29a2be3174e9f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 31 Mar 2024 19:21:33 -0400 Subject: system/em: Fix github URL, README/slack-desc typo. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- system/em/README | 2 +- system/em/em.SlackBuild | 9 +++------ system/em/em.info | 2 +- system/em/slack-desc | 2 +- 4 files changed, 6 insertions(+), 9 deletions(-) (limited to 'system') diff --git a/system/em/README b/system/em/README index e897683250..bcecf3313f 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 09c1e47670..d9e087a51e 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 3e24f09c4e..8c09ee0b20 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 8521f01376..2b6d485eb6 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/ -- cgit v1.2.3-65-gdbad