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

Felix Yan felixonmars at archlinux.org
Sat Jun 17 14:18:32 UTC 2017


    Date: Saturday, June 17, 2017 @ 14:18:32
  Author: felixonmars
Revision: 237884

upgpkg: haskell-configurator 0.3.0.0-11

rebuild with ghc,8.0.2

Modified:
  haskell-configurator/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-17 14:18:06 UTC (rev 237883)
+++ PKGBUILD	2017-06-17 14:18:32 UTC (rev 237884)
@@ -4,12 +4,12 @@
 _hkgname=configurator
 pkgname=haskell-configurator
 pkgver=0.3.0.0
-pkgrel=10
+pkgrel=11
 pkgdesc="Configuration management"
 url="http://github.com/bos/configurator"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-attoparsec' 'haskell-hashable' 'haskell-text' 'haskell-unix-compat'
+depends=('ghc' 'haskell-attoparsec' 'haskell-hashable' 'haskell-text' 'haskell-unix-compat'
          'haskell-unordered-containers')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 md5sums=('aac63c54d79daed3f5d854ee9d34a6ef')
@@ -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 \
             -f-developer
@@ -39,4 +39,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