summaryrefslogtreecommitdiff
path: root/office/abook/abook.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/abook/abook.SlackBuild')
-rw-r--r--office/abook/abook.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/office/abook/abook.SlackBuild b/office/abook/abook.SlackBuild
index 4489c3f55a..4ead0ac8ae 100644
--- a/office/abook/abook.SlackBuild
+++ b/office/abook/abook.SlackBuild
@@ -29,12 +29,10 @@ VERSION=0.5.6
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -58,7 +56,7 @@ else
LIBDIRSUFFIX=""
fi
-# Exit on most errors.
+
set -e
@@ -83,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--mandir=/usr/man \
--localstatedir=/var \
-
+
make
make install-strip DESTDIR=$PKG