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>
This commit is contained in:
B. Watson 2024-03-31 19:21:33 -04:00 committed by Willy Sudiarto Raharjo
parent 419eba9480
commit 1e5da3a8c7
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 6 additions and 9 deletions

View file

@ -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.

View file

@ -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

View file

@ -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=""

View file

@ -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/