diff options
Diffstat (limited to 'office/hevea')
-rw-r--r-- | office/hevea/hevea.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/office/hevea/hevea.SlackBuild b/office/hevea/hevea.SlackBuild index 3d127a4b7e..d5d8a804a2 100644 --- a/office/hevea/hevea.SlackBuild +++ b/office/hevea/hevea.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2.00} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -61,7 +59,7 @@ sed -i -e "\ Makefile make -DESTDIR=$PKG make install +DESTDIR=$PKG make install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |