summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haskell/haskell-HUnit/haskell-HUnit.SlackBuild12
-rw-r--r--haskell/haskell-HUnit/haskell-HUnit.info6
2 files changed, 8 insertions, 10 deletions
diff --git a/haskell/haskell-HUnit/haskell-HUnit.SlackBuild b/haskell/haskell-HUnit/haskell-HUnit.SlackBuild
index fdd0437aed..d34f109cd2 100644
--- a/haskell/haskell-HUnit/haskell-HUnit.SlackBuild
+++ b/haskell/haskell-HUnit/haskell-HUnit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for HUnit
-# Copyright 2013 Mikko Värri, Finland
+# Copyright 2015 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-HUnit
-VERSION=${VERSION:-1.2.5.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.2.5.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
@@ -98,10 +98,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
+cp -a LICENSE README doc/Guide.html prologue.txt examples $PKG/usr/doc/$PRGNAM-$VERSION
+# $PKG/usr/share is full of duplicates
rm -rf $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/haskell/haskell-HUnit/haskell-HUnit.info b/haskell/haskell-HUnit/haskell-HUnit.info
index 30856a3e4c..7bcd5fb9da 100644
--- a/haskell/haskell-HUnit/haskell-HUnit.info
+++ b/haskell/haskell-HUnit/haskell-HUnit.info
@@ -1,8 +1,8 @@
PRGNAM="haskell-HUnit"
-VERSION="1.2.5.1"
+VERSION="1.2.5.2"
HOMEPAGE="http://hackage.haskell.org/package/HUnit"
-DOWNLOAD="http://hackage.haskell.org/packages/archive/HUnit/1.2.5.1/HUnit-1.2.5.1.tar.gz"
-MD5SUM="807f169fd4446529fcbf57948d5570b8"
+DOWNLOAD="http://hackage.haskell.org/packages/archive/HUnit/1.2.5.2/HUnit-1.2.5.2.tar.gz"
+MD5SUM="1ba79aaeb57361a8593e864694539025"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ghc"