summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-09 14:18:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-11 03:17:21 +0700
commitdcaa4035ae2a487047c805b5a92f5908ba1ac0dd (patch)
treee6c4a883eb7e38141d2c789aec035ed0e51f885e
parent2f0ebd4735c0586a2a01162ab914429fd5d34b8c (diff)
downloadslackbuilds-dcaa4035ae2a487047c805b5a92f5908ba1ac0dd.tar.gz
haskell/haskell-deepseq-generics: Downgraded to version 0.1.1.2.
citeproc-hs 0.3.10 requires pandoc-types (>=1.8 && <1.13) pandoc-types 1.12.4.7 requires aeson < 0.11 aeson 0.9.0.1 requires deepseq-generics < 0.2 ... so here we are at deepseq-generics-0.1.1.2 :( Signed-off-by: David Spencer <baildon.research@googlemail.com>
-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"