summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:03:04 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:41 -0600
commit407d430b27c220ab8c112698d00bb45998e0c1d6 (patch)
treee30ba0c9a93b5853133bb47d96819d930e40d1ff
parent2f929d5d73c062f217fa6f40ca69d6ca472bdb75 (diff)
downloadslackbuilds-407d430b27c220ab8c112698d00bb45998e0c1d6.tar.gz
libraries/haskell-editline: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--libraries/haskell-editline/README11
-rw-r--r--libraries/haskell-editline/haskell-editline.SlackBuild7
-rw-r--r--libraries/haskell-editline/haskell-editline.info2
3 files changed, 10 insertions, 10 deletions
diff --git a/libraries/haskell-editline/README b/libraries/haskell-editline/README
index 3ffb39b8bb..0f36b82abc 100644
--- a/libraries/haskell-editline/README
+++ b/libraries/haskell-editline/README
@@ -1,9 +1,8 @@
-haskell-editline (Bindings to the editline library (libedit))
-
-This package contains bindings to the BSD editline library. It provides a
-basic interface to the editline API for reading lines of input from the user.
-Additionally, a readline compatibility module is included which provides a
-subset of the functions from the readline package.
+This package contains Haskell bindings to the BSD editline library.
+It provides a basic interface to the editline API for reading lines of
+input from the user. Additionally, a readline compatibility module is
+included which provides a subset of the functions from the readline
+package.
This requires libedit and ghc.
diff --git a/libraries/haskell-editline/haskell-editline.SlackBuild b/libraries/haskell-editline/haskell-editline.SlackBuild
index 23c4064e65..f07fc4011a 100644
--- a/libraries/haskell-editline/haskell-editline.SlackBuild
+++ b/libraries/haskell-editline/haskell-editline.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=editline
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-editline
VERSION=${VERSION:-0.2.1.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then
diff --git a/libraries/haskell-editline/haskell-editline.info b/libraries/haskell-editline/haskell-editline.info
index a0fae610dd..efbfcf748d 100644
--- a/libraries/haskell-editline/haskell-editline.info
+++ b/libraries/haskell-editline/haskell-editline.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"