[arch-commits] Commit in haskell-insert-ordered-containers/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jun 18 11:53:59 UTC 2017


    Date: Sunday, June 18, 2017 @ 11:53:58
  Author: felixonmars
Revision: 238050

upgpkg: haskell-insert-ordered-containers 0.2.1.0-14

rebuild with ghc,8.0.2

Modified:
  haskell-insert-ordered-containers/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-18 11:53:47 UTC (rev 238049)
+++ PKGBUILD	2017-06-18 11:53:58 UTC (rev 238050)
@@ -4,12 +4,12 @@
 _hkgname=insert-ordered-containers
 pkgname=haskell-insert-ordered-containers
 pkgver=0.2.1.0
-pkgrel=13
+pkgrel=14
 pkgdesc="Associative containers retating insertion order for traversals."
 url="https://github.com/phadej/insert-ordered-containers"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-aeson' 'haskell-base-compat' 'haskell-hashable' 'haskell-lens'
+depends=('ghc' 'haskell-aeson' 'haskell-base-compat' 'haskell-hashable' 'haskell-lens'
          'haskell-semigroupoids' 'haskell-semigroups' 'haskell-text' 'haskell-unordered-containers')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('baff8b23700a7d0209810208183d9856c0a5219018c5f09e82f8820ac87630073543da19e1198fc42f3feec143895707e5e33fdf1edbf8f4e6c441271cc3243b')
@@ -21,7 +21,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
@@ -42,4 +42,7 @@
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list