summaryrefslogtreecommitdiff
path: root/haskell/haskell-HUnit/haskell-HUnit.SlackBuild
diff options
context:
space:
mode:
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 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