summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:15:51 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:42 -0600
commitdbd2bf63cfcf9807bbdc838c550a6b6efa9ce1ba (patch)
tree5b05a169ee0a6ed53fb9d48918c7d9848f844635 /libraries
parentbeb607dd6c740eae44194e63f1c122a42532ca19 (diff)
downloadslackbuilds-dbd2bf63cfcf9807bbdc838c550a6b6efa9ce1ba.tar.gz
libraries/haskell-HUnit: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/haskell-HUnit/README2
-rw-r--r--libraries/haskell-HUnit/haskell-HUnit.SlackBuild8
-rw-r--r--libraries/haskell-HUnit/haskell-HUnit.info2
3 files changed, 7 insertions, 5 deletions
diff --git a/libraries/haskell-HUnit/README b/libraries/haskell-HUnit/README
index 40a87a49e2..90e9270497 100644
--- a/libraries/haskell-HUnit/README
+++ b/libraries/haskell-HUnit/README
@@ -1,5 +1,3 @@
-haskell-HUnit (Unit testing framework for Haskell)
-
HUnit is a unit testing framework for Haskell, inspired by the JUnit
tool for Java.
diff --git a/libraries/haskell-HUnit/haskell-HUnit.SlackBuild b/libraries/haskell-HUnit/haskell-HUnit.SlackBuild
index ffc7c9b226..b70780c182 100644
--- a/libraries/haskell-HUnit/haskell-HUnit.SlackBuild
+++ b/libraries/haskell-HUnit/haskell-HUnit.SlackBuild
@@ -7,10 +7,10 @@
PRGNAM=haskell-HUnit
VERSION=${VERSION:-1.2.2.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-SRCNAM=HUnit
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
GHC_VERSION=$(ghc --numeric-version)
@@ -80,6 +80,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README doc/Guide.html $PKG/usr/doc/$PRGNAM-$VERSION
+# --docdir not fully respected
+mv $PKG/usr/share/$SRCNAM-$VERSION/examples $PKG/usr/doc/$PRGNAM-$VERSION/examples
+# rest of them are duplicates
+rm -rf $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/haskell-HUnit/haskell-HUnit.info b/libraries/haskell-HUnit/haskell-HUnit.info
index 3b2d5127f2..41e74138ea 100644
--- a/libraries/haskell-HUnit/haskell-HUnit.info
+++ b/libraries/haskell-HUnit/haskell-HUnit.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="rworkman"
+APPROVED="dsomero"