summaryrefslogtreecommitdiffstats
path: root/system/etsh/etsh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/etsh/etsh.SlackBuild')
-rw-r--r--system/etsh/etsh.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/etsh/etsh.SlackBuild b/system/etsh/etsh.SlackBuild
index 6e87ea5bdf..d1cb0cad9e 100644
--- a/system/etsh/etsh.SlackBuild
+++ b/system/etsh/etsh.SlackBuild
@@ -18,10 +18,11 @@
# The name means "Extended Thompson Shell", it's nothing to do with
# phoning home...
+# 20191201 bkw: updated for v5.4.0.
# 20180902 bkw: updated for v5.3.1.
PRGNAM=etsh
-VERSION=${VERSION:-5.3.1} # main etsh version
+VERSION=${VERSION:-5.4.0} # main etsh version
V6S_VER=${V6S_VER:-20180109} # v6scripts version
LT_VER=${LT_VER:-20180115} # looptest version
BUILD=${BUILD:-1}
@@ -63,11 +64,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 \
- \( -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 {} \+
./configure # not a GNU autoconf script, does not take standard args
make PREFIX=/usr BINDIR=/bin DESTDIR=$PKG WARNINGS="$SLKCFLAGS" install
@@ -90,7 +88,7 @@ cd -
# binaries already stripped
gzip -9 $PKG/usr/man/man?/*.?
-cp -a AUTHORS CHANGES* DEDICATIONS History \
+cp -a AUTHORS CHANGES* DEDICATIONS \
LICENSE NOTES PROJECT README* examples \
$DOCDIR
cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$PRGNAM.SlackBuild