aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-HUnit/haskell-HUnit.SlackBuild
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 /haskell/haskell-HUnit/haskell-HUnit.SlackBuild
parent4f7e1244c99ab47555aab7a1e098f23e3026ad99 (diff)
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>
Diffstat (limited to 'haskell/haskell-HUnit/haskell-HUnit.SlackBuild')
-rw-r--r--haskell/haskell-HUnit/haskell-HUnit.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/haskell/haskell-HUnit/haskell-HUnit.SlackBuild b/haskell/haskell-HUnit/haskell-HUnit.SlackBuild
index fdd0437aed6b0..d34f109cd26b6 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