summaryrefslogtreecommitdiff
path: root/system/isomaster/isomaster.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/isomaster/isomaster.SlackBuild')
-rw-r--r--system/isomaster/isomaster.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/system/isomaster/isomaster.SlackBuild b/system/isomaster/isomaster.SlackBuild
index 901ce17b73..66b1716c5b 100644
--- a/system/isomaster/isomaster.SlackBuild
+++ b/system/isomaster/isomaster.SlackBuild
@@ -4,7 +4,7 @@
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=isomaster
-VERSION=1.3.1
+VERSION=1.3.5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -20,19 +20,21 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -eu
+
rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# No autotools, do manually.
-patch -p0 < $CWD/Makefile.patch || exit 1
-CFLAGS="$SLKCFLAGS" make || exit 1
-make install DESTDIR=$PKG || exit 1
+patch -p0 < $CWD/Makefile.patch
+CFLAGS="$SLKCFLAGS" make
+make install DESTDIR=$PKG
strip --strip-unneeded $PKG/usr/bin/*
gzip -9 $PKG/usr/man/man?/*