development/ex-vi: Remove template comment.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-08-30 12:48:51 -04:00 committed by Willy Sudiarto Raharjo
parent fd01ee30f2
commit 0880e0aae8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 11 deletions

View file

@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20210830 bkw: build 4, -j1 no longer needed on -current.
# 20160726 bkw: build 3
# parallel make (-jN where N > 1) fails on Slack 14.2, add -j1
@ -34,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ex-vi
VERSION=${VERSION:-050325}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -46,9 +48,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
@ -83,11 +82,8 @@ rm -rf $TARNAME-$VERSION
tar xvf $CWD/$TARNAME-$VERSION.tar.bz2
cd $TARNAME-$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 {} \+
# Don't install the binary with the sticky bit set. It doesn't do anything
# on Linux, and might set off alarm bells.
@ -101,7 +97,7 @@ sed -i -e "/^#define/s,\\(TUBESIZE *\\).*$,\\1 $(( TUBECOLS * TUBELINES ))," \
# To avoid conflicts with Slackware's elvis and/or vim, we install to /opt and
# include a login script to set PATH and MANPATH.
make -j1 all install \
make all install \
RPMCFLAGS="$SLKCFLAGS" \
MANDIR=/opt/$PRGNAM/man \
PREFIX=/opt/$PRGNAM \

View file

@ -1,7 +1,7 @@
PRGNAM="ex-vi"
VERSION="050325"
HOMEPAGE="http://ex-vi.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/project/ex-vi/ex-vi/050325/ex-050325.tar.bz2"
DOWNLOAD="https://downloads.sourceforge.net/project/ex-vi/ex-vi/050325/ex-050325.tar.bz2"
MD5SUM="e668595254233e4d96811083a3e4e2f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""