diff options
-rw-r--r-- | libraries/haskell-HUnit/README | 2 | ||||
-rw-r--r-- | libraries/haskell-HUnit/haskell-HUnit.SlackBuild | 8 | ||||
-rw-r--r-- | libraries/haskell-HUnit/haskell-HUnit.info | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/libraries/haskell-HUnit/README b/libraries/haskell-HUnit/README index 40a87a49e2129..90e9270497005 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 ffc7c9b226dbc..b70780c18230a 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 3b2d5127f23fe..41e74138ea7f3 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" |