aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-aeson
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-12-19 16:39:28 +1300
committerAndrew Clemons <andrew.clemons@gmail.com>2022-01-17 18:13:44 +1300
commite84dad471bb3e3ac325c8a52185250ad1599afe0 (patch)
tree36e6a272999c00af824b2a8060e2ea9e92c7243d /haskell/haskell-aeson
parent1dfc4b815c10c3cb2ae5b138cf8d81342cc63b68 (diff)
haskell/haskell-aeson: Updated for version 1.5.6.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'haskell/haskell-aeson')
-rw-r--r--haskell/haskell-aeson/haskell-aeson.SlackBuild5
-rw-r--r--haskell/haskell-aeson/haskell-aeson.info10
2 files changed, 9 insertions, 6 deletions
diff --git a/haskell/haskell-aeson/haskell-aeson.SlackBuild b/haskell/haskell-aeson/haskell-aeson.SlackBuild
index 6f37afa57ae0f..055fc6a45291b 100644
--- a/haskell/haskell-aeson/haskell-aeson.SlackBuild
+++ b/haskell/haskell-aeson/haskell-aeson.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haskell-aeson
-VERSION=${VERSION:-1.4.1.0}
+VERSION=${VERSION:-2.0.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,6 +77,7 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
+cat $CWD/1.cabal > $SRCNAM.cabal
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -108,7 +109,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 LICENSE changelog.md README.markdown examples $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.markdown changelog.md $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-aeson/haskell-aeson.info b/haskell/haskell-aeson/haskell-aeson.info
index 89e7114a1b824..c01c2756c2af7 100644
--- a/haskell/haskell-aeson/haskell-aeson.info
+++ b/haskell/haskell-aeson/haskell-aeson.info
@@ -1,10 +1,12 @@
PRGNAM="haskell-aeson"
-VERSION="1.4.1.0"
+VERSION="2.0.2.0"
HOMEPAGE="https://hackage.haskell.org/package/aeson"
-DOWNLOAD="https://hackage.haskell.org/package/aeson-1.4.1.0/aeson-1.4.1.0.tar.gz"
-MD5SUM="8c3ad7d707d1f363a9c026707a9a95e9"
+DOWNLOAD="https://hackage.haskell.org/package/aeson-2.0.2.0/aeson-2.0.2.0.tar.gz \
+ https://hackage.haskell.org/package/aeson-2.0.2.0/revision/1.cabal"
+MD5SUM="e8f76b9edd743867375e20a95dd4ee5e \
+ 9d4417743f0244d10f604a9332d84c6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-dlist haskell-attoparsec haskell-base-compat haskell-blaze-builder haskell-hashable haskell-scientific haskell-syb haskell-tagged haskell-th-abstraction haskell-time-locale-compat haskell-uuid-types haskell-unordered-containers haskell-vector"
+REQUIRES="haskell-dlist haskell-attoparsec haskell-blaze-builder haskell-scientific haskell-syb haskell-time-locale-compat haskell-uuid-types haskell-unordered-containers haskell-vector haskell-strict haskell-witherable haskell-semialign haskell-text-short haskell-time-compat haskell-base-compat-batteries haskell-data-fix"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"