Date: Thursday, September 29, 2022 @ 13:45:05 Author: felixonmars Revision: 1316078
upgpkg: haskell-aeson 2.0.3.0-1: rebuild with aeson 2.0.3.0, aeson-diff 1.1.0.11, hoauth2 2.1.0, jose 0.9, postgrest 10.0.0, req 3.10.0 Modified: haskell-aeson/trunk/PKGBUILD ----------+ PKGBUILD | 38 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 22 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-09-29 13:43:13 UTC (rev 1316077) +++ PKGBUILD 2022-09-29 13:45:05 UTC (rev 1316078) @@ -4,37 +4,31 @@ pkgname=haskell-aeson _hkgname=aeson -pkgver=1.5.6.0 -pkgrel=140 -pkgdesc="A JSON parsing and encoding library optimized for ease of use and high performance." +pkgver=2.0.3.0 +pkgrel=1 +pkgdesc="A JSON parsing and encoding library optimized for ease of use and high performance" url="https://github.com/haskell/aeson" license=("GPL") arch=('x86_64') -depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-compat-batteries' 'haskell-data-fix' - 'haskell-dlist' 'haskell-hashable' 'haskell-primitive' 'haskell-scientific' - 'haskell-strict' 'haskell-tagged' 'haskell-th-abstraction' 'haskell-these' - 'haskell-time-compat' 'haskell-unordered-containers' 'haskell-uuid-types' 'haskell-vector') -makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-integer-logarithms' - 'haskell-base-orphans' 'haskell-base16-bytestring' 'haskell-diff' - 'haskell-generic-deriving' 'haskell-hashable-time' 'haskell-tasty' - 'haskell-tasty-golden' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' - 'haskell-quickcheck-instances') -source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz" - ghc9.patch) -sha512sums=('31e0339945aec6d84aec230c09001fe6e7926f008d3444d12264bb323d0a050515303fdc8eeb6563733594209d930cdd2f82eb4dfe4dd4d5c573748aaa71813d' - 'b6f9d49f1427543a907a2b432889f2fef64c50dbaae36133dbb328d6ff7f314959d35ef154f085a42f72af384eaa107b6f7f2b67a2d318f972e2cce04b65d35e') +depends=('ghc-libs' 'haskell-onetuple' 'haskell-quickcheck' 'haskell-attoparsec' + 'haskell-base-compat-batteries' 'haskell-data-fix' 'haskell-dlist' 'haskell-hashable' + 'haskell-indexed-traversable' 'haskell-primitive' 'haskell-scientific' 'haskell-semialign' + 'haskell-strict' 'haskell-tagged' 'haskell-text-short' 'haskell-th-abstraction' + 'haskell-these' 'haskell-time-compat' 'haskell-unordered-containers' 'haskell-uuid-types' + 'haskell-vector' 'haskell-witherable') +makedepends=('ghc' 'haskell-diff' 'haskell-base-compat' 'haskell-base-orphans' + 'haskell-base16-bytestring' 'haskell-generic-deriving' 'haskell-integer-logarithms' + 'haskell-quickcheck-instances' 'haskell-tasty' 'haskell-tasty-golden' + 'haskell-tasty-hunit' 'haskell-tasty-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz") +sha512sums=('546adaaf864ca40012a268d71f442479f0ad7c69e9f943391801570e227a2faa652494766f1f63b77c730e019e83ebdd7511426baa12792a28fbb470eca64552') -prepare() { - uusi -u attoparsec -u base-compat-batteries -u hashable -u hashable-time $_hkgname-$pkgver/$_hkgname.cabal - patch -d $_hkgname-$pkgver -p1 < ghc9.patch -} - build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ - -f-developer -f-fast -f-cffi + -f-cffi -fordered-keymap runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script
