aboutsummaryrefslogtreecommitdiff
path: root/system/multitail/multitail.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 22:26:47 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:26:47 +0200
commit70c81dea95b77110832eab999d695d6e769c01be (patch)
treeecd55def605f9323f3f2a3c5355b568ad15a0473 /system/multitail/multitail.SlackBuild
parent73f7d2cd7eb48fd8797eb6113fbe1146720e8679 (diff)
system/multitail: Updated for version 5.2.2
Diffstat (limited to 'system/multitail/multitail.SlackBuild')
-rw-r--r--system/multitail/multitail.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/system/multitail/multitail.SlackBuild b/system/multitail/multitail.SlackBuild
index aeaa204d03663..b55faa95e2877 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