summaryrefslogtreecommitdiff
path: root/system/md5deep/md5deep.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/md5deep/md5deep.SlackBuild')
-rw-r--r--system/md5deep/md5deep.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/system/md5deep/md5deep.SlackBuild b/system/md5deep/md5deep.SlackBuild
index 2c77628df0..3dfae2d0c6 100644
--- a/system/md5deep/md5deep.SlackBuild
+++ b/system/md5deep/md5deep.SlackBuild
@@ -1,11 +1,10 @@
-#!/bin/sh
+#!/bin/sh -eu
# Slackware build script for md5deep
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=md5deep
-VERSION=2.0.1
-SUBVER=001
+VERSION=3.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -23,16 +22,16 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-$SUBVER.tar.gz || exit 1
-cd $PRGNAM-$VERSION-$SUBVER || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-CFLAGS="$SLKCFLAGS" ./configure --prefix=/usr || exit 1
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+CFLAGS="$SLKCFLAGS" ./configure --prefix=/usr
+make
+make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install