aboutsummaryrefslogtreecommitdiff
path: root/system/xjobs/xjobs.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:46:25 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:46:25 +0200
commit4539f404ec0868045a5a1fc5eb26f4290b2dad81 (patch)
treec1037e792aa07b4a1ae25b4fd7dc2472deb6cb12 /system/xjobs/xjobs.SlackBuild
parent0d47cadf9703d2c9c35438c4286fc555446b5f9c (diff)
system/xjobs: Updated for version 20080824
Diffstat (limited to 'system/xjobs/xjobs.SlackBuild')
-rw-r--r--system/xjobs/xjobs.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/xjobs/xjobs.SlackBuild b/system/xjobs/xjobs.SlackBuild
index 0507ad9f300a..32066e385161 100644
--- a/system/xjobs/xjobs.SlackBuild
+++ b/system/xjobs/xjobs.SlackBuild
@@ -1,14 +1,15 @@
-#!/bin/sh
+#!/bin/sh -eu
# Slackware build script for xjobs
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=xjobs
-VERSION=20080520
+VERSION=20080824
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -23,24 +24,23 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz || 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: mandir -> destdir/mandir
-patch -p0 < $CWD/xjobs-mandir.patch || exit 1
+patch -p0 < $CWD/xjobs-mandir.patch
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
- --mandir=/usr/man \
- || exit 1
+ --mandir=/usr/man
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+make
+make install DESTDIR=$PKG
# Cleanup on Isle 3
strip --strip-unneeded $PKG/usr/bin/xjobs