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

Felix Yan felixonmars at archlinux.org
Sat May 19 17:22:01 UTC 2018


    Date: Saturday, May 19, 2018 @ 17:22:01
  Author: felixonmars
Revision: 324731

upgpkg: haskell-criterion 1.4.0.0-30

rebuild with base-compat,0.10.1 aeson,1.3.1.1

Modified:
  haskell-criterion/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-19 17:02:24 UTC (rev 324730)
+++ PKGBUILD	2018-05-19 17:22:01 UTC (rev 324731)
@@ -5,7 +5,7 @@
 _hkgname=criterion
 pkgname=haskell-criterion
 pkgver=1.4.0.0
-pkgrel=29
+pkgrel=30
 pkgdesc="Robust, reliable performance measurement and analysis"
 url="http://www.serpentine.com/criterion"
 license=("custom:BSD3")
@@ -13,13 +13,19 @@
 depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-wl-pprint' 'haskell-cassava' 'haskell-code-page'
          'haskell-exceptions' 'haskell-glob' 'haskell-js-flot' 'haskell-js-jquery'
          'haskell-microstache' 'haskell-mwc-random' 'haskell-optparse-applicative'
-         'haskell-semigroups' 'haskell-statistics'
-         'haskell-transformers-compat' 'haskell-vector' 'haskell-vector-algorithms')
+         'haskell-statistics' 'haskell-transformers-compat' 'haskell-vector'
+         'haskell-vector-algorithms')
 makedepends=('ghc' 'haskell-base-compat' 'haskell-hunit' 'haskell-quickcheck' 'haskell-tasty'
              'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('5be073a1137dfd403a082760c9e956fcc434403b4dd1e7f04753c9d2a5061c91561d5f4e57e856953d10166bbbbf5c1f0cd210162733604706026c2e0981bce0')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i -e '/semigroups/d' -e 's/optparse-applicative >= 0.13,/optparse-applicative >= 0.13/' \
+        -e 's/parsec >= 3.1.0/,parsec >= 3.1.0/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list