summaryrefslogtreecommitdiff
path: root/system/multitail
diff options
context:
space:
mode:
Diffstat (limited to 'system/multitail')
-rw-r--r--system/multitail/multitail.SlackBuild18
-rw-r--r--system/multitail/multitail.info8
2 files changed, 14 insertions, 12 deletions
diff --git a/system/multitail/multitail.SlackBuild b/system/multitail/multitail.SlackBuild
index aeaa204d03..b55faa95e2 100644
--- a/system/multitail/multitail.SlackBuild
+++ b/system/multitail/multitail.SlackBuild
@@ -3,8 +3,10 @@
# Slackware build script for MultiTail
# Written by Erik Hanson erik@slackbuilds.org
+set -eu
+
PRGNAM=multitail
-VERSION=5.0.5
+VERSION=5.2.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -21,23 +23,23 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Fix our destination
-sed -i "s|DESTDIR=/|DESTDIR=$PKG|" Makefile || exit 1
-sed -i "s|/usr/share|/usr|" Makefile || exit 1
+sed -i "s|DESTDIR=/|DESTDIR=$PKG|" Makefile
+sed -i "s|/usr/share|/usr|" Makefile
# Create a landing pad
mkdir -p $PKG/usr/{bin,doc,man/man1} $PKG/etc $PKG/install
# Compile and Install
-CFLAGS="$SLKCFLAGS" make install || exit 1
-strip --strip-unneeded $PKG/usr/bin/multitail || exit 1
+CFLAGS="$SLKCFLAGS" make install
+strip --strip-unneeded $PKG/usr/bin/multitail
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/system/multitail/multitail.info b/system/multitail/multitail.info
index 5c0f045bc6..59f9afb68f 100644
--- a/system/multitail/multitail.info
+++ b/system/multitail/multitail.info
@@ -1,8 +1,8 @@
PRGNAM="multitail"
-VERSION="5.0.5"
+VERSION="5.2.2"
HOMEPAGE="http://www.vanheusden.com/multitail/"
-DOWNLOAD="http://www.vanheusden.com/multitail/multitail-5.0.5.tgz"
-MD5SUM="30fb070a20236c3d26bb2b4996e9dd59"
+DOWNLOAD="http://www.vanheusden.com/multitail/multitail-5.2.2.tgz"
+MD5SUM="ab2c198381e9ff6271ce56bdcb06f963"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="rworkman"
+APPROVED="David Somero" \ No newline at end of file