summaryrefslogtreecommitdiff
path: root/development/alex/alex.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2012-01-10 08:34:09 -0200
committerErik Hanson <erik@slackbuilds.org>2012-01-13 14:43:33 -0600
commit63350794316a2133649bf5e3540a312cb629bf1c (patch)
tree47c8547539e5dbad2e4f6c4706182cff18704e6a /development/alex/alex.SlackBuild
parent96a8bdc26cd70ed0cad98a59cb0be563bda920bf (diff)
downloadslackbuilds-63350794316a2133649bf5e3540a312cb629bf1c.tar.gz
development/alex: Updated for version 3.0.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/alex/alex.SlackBuild')
-rw-r--r--development/alex/alex.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/development/alex/alex.SlackBuild b/development/alex/alex.SlackBuild
index d8e79072c7..3db8e6ce85 100644
--- a/development/alex/alex.SlackBuild
+++ b/development/alex/alex.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for alex
-# 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=alex
-VERSION=${VERSION:-2.3.5}
+VERSION=${VERSION:-3.0.1}
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