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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 20:36:55 UTC 2017


    Date: Thursday, June 15, 2017 @ 20:36:55
  Author: felixonmars
Revision: 237443

upgpkg: haskell-incremental-parser 0.2.5-5

rebuild with ghc,8.0.2

Modified:
  haskell-incremental-parser/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 20:35:37 UTC (rev 237442)
+++ PKGBUILD	2017-06-15 20:36:55 UTC (rev 237443)
@@ -5,12 +5,12 @@
 _hkgname=incremental-parser
 pkgname=haskell-incremental-parser
 pkgver=0.2.5
-pkgrel=4
+pkgrel=5
 pkgdesc="Generic parser library capable of providing partial results from partial input."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('GPL')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-monoid-subclasses')
+depends=('ghc' 'haskell-monoid-subclasses')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 md5sums=('09a7211f5bd630f417021d24cd5547d7')
 
@@ -17,7 +17,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
-    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
@@ -37,4 +37,7 @@
     ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
     runhaskell Setup copy --destdir="${pkgdir}"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list