aboutsummaryrefslogtreecommitdiff
path: root/development/happy/happy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/happy/happy.SlackBuild')
-rw-r--r--development/happy/happy.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/development/happy/happy.SlackBuild b/development/happy/happy.SlackBuild
index 5abf7d7832277..154db44adcc08 100644
--- a/development/happy/happy.SlackBuild
+++ b/development/happy/happy.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for happy
-# Copyright 2011 Mikko Värri, Finland
+# Copyright 2012 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=happy
-VERSION=${VERSION:-1.18.6}
+VERSION=${VERSION:-1.18.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,15 +71,15 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-runghc Setup.lhs configure \
+runghc Setup configure \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--ghc-options="-threaded -dynamic"
-runghc Setup.lhs build
-runghc Setup.lhs copy --destdir=$PKG
+runghc Setup build
+runghc Setup copy --destdir=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION