summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild10
-rw-r--r--haskell/haskell-deepseq-generics/haskell-deepseq-generics.info6
2 files changed, 10 insertions, 6 deletions
diff --git a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild
index 013f56f03c..9a260a5597 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
diff --git a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info
index 5a0840b171..e1e9eec6ca 100644
--- a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info
+++ b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info
@@ -1,8 +1,8 @@
PRGNAM="haskell-deepseq-generics"
-VERSION="0.2.0.0"
+VERSION="0.1.1.2"
HOMEPAGE="http://hackage.haskell.org/package/deepseq-generics"
-DOWNLOAD="http://hackage.haskell.org/package/deepseq-generics-0.2.0.0/deepseq-generics-0.2.0.0.tar.gz"
-MD5SUM="7bb94923c52024f642c85f4dab9a9b79"
+DOWNLOAD="http://hackage.haskell.org/package/deepseq-generics-0.1.1.2/deepseq-generics-0.1.1.2.tar.gz"
+MD5SUM="42a13139891be6a7bf0c88923daf51ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ghc"