[arch-commits] Commit in haskell-aeson/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Mar 26 12:35:08 UTC 2021


    Date: Friday, March 26, 2021 @ 12:35:08
  Author: felixonmars
Revision: 904475

upgpkg: haskell-aeson 1.5.6.0-13: rebuild with attoparsec 0.14.1

Modified:
  haskell-aeson/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-26 12:29:22 UTC (rev 904474)
+++ PKGBUILD	2021-03-26 12:35:08 UTC (rev 904475)
@@ -5,7 +5,7 @@
 pkgname=haskell-aeson
 _hkgname=aeson
 pkgver=1.5.6.0
-pkgrel=12
+pkgrel=13
 pkgdesc="A JSON parsing and encoding library optimized for ease of use and high performance."
 url="https://github.com/haskell/aeson"
 license=("GPL")
@@ -14,7 +14,7 @@
          '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' 'haskell-quickcheck' 'haskell-integer-logarithms'
+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'
@@ -22,6 +22,10 @@
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
 sha512sums=('31e0339945aec6d84aec230c09001fe6e7926f008d3444d12264bb323d0a050515303fdc8eeb6563733594209d930cdd2f82eb4dfe4dd4d5c573748aaa71813d')
 
+prepare() {
+  uusi -u attoparsec $_hkgname-$pkgver/$_hkgname.cabal
+}
+
 build() {
   cd $_hkgname-$pkgver
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \



More information about the arch-commits mailing list