summaryrefslogtreecommitdiffstats
path: root/development/alex/alex.SlackBuild
diff options
context:
space:
mode:
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