From 564772e5f2e34e23fd205faf9e906abc8d1cb5f4 Mon Sep 17 00:00:00 2001 From: Mikko Värri Date: Sun, 9 Jan 2011 12:30:05 -0500 Subject: libraries/haskell-X11: Miscellaneous cleanup. Signed-off-by: dsomero --- libraries/haskell-X11/README | 11 +++++------ libraries/haskell-X11/haskell-X11.SlackBuild | 7 ++++--- libraries/haskell-X11/haskell-X11.info | 2 +- libraries/haskell-X11/slack-desc | 12 ++++++------ 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/libraries/haskell-X11/README b/libraries/haskell-X11/README index 5bdc304f47..64f452c70f 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 d620dd7bcc..dd72723ba3 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 6c341d60ff..e4fcc8604a 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 6a79dd1f54..922c7a60d8 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: -- cgit v1.2.3-65-gdbad