summaryrefslogtreecommitdiff
path: root/development/happy/happy.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2012-01-10 10:29:44 -0200
committerErik Hanson <erik@slackbuilds.org>2012-01-13 14:43:34 -0600
commitae014ba9c61dd90a8bc62dc3a46a402324f73144 (patch)
tree780ffb732c5c00b723fe3ed2636e67bb4933c1c4 /development/happy/happy.SlackBuild
parent88f81808a0f38b48242d1747ba94fbcf302bfe62 (diff)
downloadslackbuilds-ae014ba9c61dd90a8bc62dc3a46a402324f73144.tar.gz
development/happy: Updated for version 1.18.8.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 5abf7d7832..154db44adc 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