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

Felix Yan felixonmars at gemini.archlinux.org
Sat Mar 26 18:38:18 UTC 2022


    Date: Saturday, March 26, 2022 @ 18:38:17
  Author: felixonmars
Revision: 1176856

upgpkg: haskell-parsers 0.12.10-218: rebuild with parsers (fix attoparsec flag)

Modified:
  haskell-parsers/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-26 18:34:52 UTC (rev 1176855)
+++ PKGBUILD	2022-03-26 18:38:17 UTC (rev 1176856)
@@ -4,7 +4,7 @@
 _hkgname=parsers
 pkgname=haskell-parsers
 pkgver=0.12.10
-pkgrel=217
+pkgrel=218
 pkgdesc="Parsing combinators"
 url="https://github.com/ekmett/parsers/"
 license=("BSD")
@@ -11,13 +11,13 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-orphans' 'haskell-charset'
          'haskell-scientific' 'haskell-unordered-containers')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-instances')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('99ff90de4e60be3c03c8e1e5ae7902a37424c3139ccf566ff1cbc363d176787bd60bb709ef6c56f5b446f1f1b7eca65aa5d431897a0f82a9d6f7fe77fd2ee49f')
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i '/semigroups/d' $_hkgname.cabal
+    uusi -d semigroups -u attoparsec $_hkgname.cabal
 }
 
 build() {
@@ -25,7 +25,8 @@
     
     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
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+        -fbinary -fparsec -fattoparsec
     runhaskell Setup build $MAKEFLAGS
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script



More information about the arch-commits mailing list