From 75829a34ab6a2e0b7be434cd0a6d1b80f48276fb Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 31 May 2016 19:45:07 +0100 Subject: haskell/haskell-test-framework-quickcheck2: Updated for v0.3.0.3 r1. Signed-off-by: David Spencer --- .../haskell-test-framework-quickcheck2.SlackBuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'haskell') diff --git a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild index 00526e6ee2..36eee3eabe 100644 --- a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild +++ b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=haskell-test-framework-quickcheck2 VERSION=${VERSION:-0.3.0.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" @@ -68,10 +68,14 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# http://hackage.haskell.org/package/test-framework-quickcheck2-0.3.0.3/revisions/ +sed -i -e 's/QuickCheck >= 2.4 \&\& < 2.8/QuickCheck >= 2.4 \&\& < 2.9/' \ + test-framework-quickcheck2.cabal CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3