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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 02:37:32 UTC 2017


    Date: Thursday, June 15, 2017 @ 02:37:31
  Author: felixonmars
Revision: 236892

upgpkg: haskell-case-insensitive 1.2.0.10-2

rebuild with ghc,8.0.2

Modified:
  haskell-case-insensitive/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 02:36:13 UTC (rev 236891)
+++ PKGBUILD	2017-06-15 02:37:31 UTC (rev 236892)
@@ -5,18 +5,18 @@
 _hkgname=case-insensitive
 pkgname=haskell-case-insensitive
 pkgver=1.2.0.10
-pkgrel=1
+pkgrel=2
 pkgdesc="Case insensitive string comparison"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-hashable' 'haskell-text')
+depends=('ghc' 'haskell-hashable' 'haskell-text')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('5b9db48836a67e8d874497ce670a8f5d07198ad77693c7fc697deaa50a4cab7111074630e26acb7ea6d8bf550f9d66d1568fef51c6aa4388d26405765a546336')
 
 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 -fnetwork-uri
     runhaskell Setup build
@@ -37,4 +37,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