diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-05-31 19:45:07 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-01 23:54:53 +0700 |
commit | 75829a34ab6a2e0b7be434cd0a6d1b80f48276fb (patch) | |
tree | 3bc732703a634b78153eb2aeb1454f966ae5b166 /haskell/haskell-test-framework-quickcheck2 | |
parent | 02123c83338c67f019b0e900b0952569866b298f (diff) |
haskell/haskell-test-framework-quickcheck2: Updated for v0.3.0.3 r1.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'haskell/haskell-test-framework-quickcheck2')
-rw-r--r-- | haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
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 00526e6ee27f7..36eee3eabef7e 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" \ |