mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
fd01ee30f2
commit
0880e0aae8
2 changed files with 7 additions and 11 deletions
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
# 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
|
# 20160726 bkw: build 3
|
||||||
# parallel make (-jN where N > 1) fails on Slack 14.2, add -j1
|
# 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
|
PRGNAM=ex-vi
|
||||||
VERSION=${VERSION:-050325}
|
VERSION=${VERSION:-050325}
|
||||||
BUILD=${BUILD:-3}
|
BUILD=${BUILD:-4}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -46,9 +48,6 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -83,11 +82,8 @@ rm -rf $TARNAME-$VERSION
|
||||||
tar xvf $CWD/$TARNAME-$VERSION.tar.bz2
|
tar xvf $CWD/$TARNAME-$VERSION.tar.bz2
|
||||||
cd $TARNAME-$VERSION
|
cd $TARNAME-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||||
-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 {} \;
|
|
||||||
|
|
||||||
# Don't install the binary with the sticky bit set. It doesn't do anything
|
# Don't install the binary with the sticky bit set. It doesn't do anything
|
||||||
# on Linux, and might set off alarm bells.
|
# 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
|
# To avoid conflicts with Slackware's elvis and/or vim, we install to /opt and
|
||||||
# include a login script to set PATH and MANPATH.
|
# include a login script to set PATH and MANPATH.
|
||||||
make -j1 all install \
|
make all install \
|
||||||
RPMCFLAGS="$SLKCFLAGS" \
|
RPMCFLAGS="$SLKCFLAGS" \
|
||||||
MANDIR=/opt/$PRGNAM/man \
|
MANDIR=/opt/$PRGNAM/man \
|
||||||
PREFIX=/opt/$PRGNAM \
|
PREFIX=/opt/$PRGNAM \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
PRGNAM="ex-vi"
|
PRGNAM="ex-vi"
|
||||||
VERSION="050325"
|
VERSION="050325"
|
||||||
HOMEPAGE="http://ex-vi.sourceforge.net/"
|
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"
|
MD5SUM="e668595254233e4d96811083a3e4e2f3"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
|
|
Loading…
Reference in a new issue