aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:30:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:43 -0600
commit564772e5f2e34e23fd205faf9e906abc8d1cb5f4 (patch)
treea1f49d6075217d42bfa1a7dc45364ccc902cb282 /libraries
parentb7c63a136fc3fc1fcb6b856a828665cb4ffa884e (diff)
libraries/haskell-X11: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/haskell-X11/README11
-rw-r--r--libraries/haskell-X11/haskell-X11.SlackBuild7
-rw-r--r--libraries/haskell-X11/haskell-X11.info2
-rw-r--r--libraries/haskell-X11/slack-desc12
4 files changed, 16 insertions, 16 deletions
diff --git a/libraries/haskell-X11/README b/libraries/haskell-X11/README
index 5bdc304f4763e..64f452c70f66f 100644
--- a/libraries/haskell-X11/README
+++ b/libraries/haskell-X11/README
@@ -1,10 +1,9 @@
-haskell-X11 (A Haskell binding to the X11 graphics library)
+A Haskell binding to the X11 graphics library. The binding is a
+direct translation of the C binding; for documentation of these calls,
+refer to The Xlib Programming Manual, available online at
+http://tronche.com/gui/x/xlib/.
-The binding is a direct translation of the C binding; for
-documentation of these calls, refer to The Xlib Programming Manual,
-available online at http://tronche.com/gui/x/xlib/.
-
-This requires ghc from SlackBuilds.org.
+This requires ghc and haskell-syb from SlackBuilds.org.
After uninstalling, run this command to unregister the package from the ghc
package database: ghc-pkg recache
diff --git a/libraries/haskell-X11/haskell-X11.SlackBuild b/libraries/haskell-X11/haskell-X11.SlackBuild
index d620dd7bccb69..dd72723ba3880 100644
--- a/libraries/haskell-X11/haskell-X11.SlackBuild
+++ b/libraries/haskell-X11/haskell-X11.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=X11
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-X11
VERSION=${VERSION:-1.5.0.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-X11/haskell-X11.info b/libraries/haskell-X11/haskell-X11.info
index 6c341d60ffe3c..e4fcc8604aa2d 100644
--- a/libraries/haskell-X11/haskell-X11.info
+++ b/libraries/haskell-X11/haskell-X11.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"
diff --git a/libraries/haskell-X11/slack-desc b/libraries/haskell-X11/slack-desc
index 6a79dd1f54b86..922c7a60d8f12 100644
--- a/libraries/haskell-X11/slack-desc
+++ b/libraries/haskell-X11/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
haskell-X11: haskell-X11 (A Haskell binding to the X11 graphics library)
-haskell-X11:
+haskell-X11:
haskell-X11: The binding is a direct translation of the C binding; for
haskell-X11: documentation of these calls, refer to The Xlib Programming Manual,
haskell-X11: available online at http://tronche.com/gui/x/xlib/.
-haskell-X11:
+haskell-X11:
haskell-X11: http://hackage.haskell.org/package/X11
-haskell-X11:
-haskell-X11:
-haskell-X11:
-haskell-X11:
+haskell-X11:
+haskell-X11:
+haskell-X11:
+haskell-X11: