summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2014-03-10 23:34:06 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-04 07:46:46 +0700
commit5fa971b44b3b5e60cfc7d88487a6c9135e8b0f40 (patch)
treeb02d8309d645649fead0ceff79fcdf410d572252
parent4f7e1244c99ab47555aab7a1e098f23e3026ad99 (diff)
downloadslackbuilds-5fa971b44b3b5e60cfc7d88487a6c9135e8b0f40.tar.gz
haskell/haskell-HUnit: Updated for version 1.2.5.2.
Signed-off-by: Mikko Värri <vmj@linuxbox.fi> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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"