diff options
author | Mikko Värri <vmj@linuxbox.fi> | 2011-01-09 12:15:51 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-01-10 15:04:42 -0600 |
commit | dbd2bf63cfcf9807bbdc838c550a6b6efa9ce1ba (patch) | |
tree | 5b05a169ee0a6ed53fb9d48918c7d9848f844635 | |
parent | beb607dd6c740eae44194e63f1c122a42532ca19 (diff) |
libraries/haskell-HUnit: Miscellaneous cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-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" |