summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
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"