aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild')
-rw-r--r--haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild
index 013f56f03c9dd..9a260a55977b8 100644
--- a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild
+++ b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-deepseq-generics
-VERSION=${VERSION:-0.2.0.0}
+VERSION=${VERSION:-0.1.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,7 +71,11 @@ 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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# http://hackage.haskell.org/package/deepseq-generics-0.1.1.2/revisions/
+sed -i -e 's/ghc-prim >= 0.2 \&\& < 0.4/ghc-prim >= 0.2 \&\& < 0.5/' \
+ deepseq-generics.cabal
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -97,7 +101,7 @@ 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 changelog.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a changelog LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install