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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 15:03:11 UTC 2017


    Date: Friday, June 16, 2017 @ 15:03:10
  Author: felixonmars
Revision: 237679

upgpkg: haskell-descriptive 0.9.4-53

rebuild with ghc,8.0.2

Modified:
  haskell-descriptive/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 15:01:31 UTC (rev 237678)
+++ PKGBUILD	2017-06-16 15:03:10 UTC (rev 237679)
@@ -5,12 +5,12 @@
 _hkgname=descriptive
 pkgname=haskell-descriptive
 pkgver=0.9.4
-pkgrel=52
+pkgrel=53
 pkgdesc="Self-describing consumers/parsers; forms, cmd-line args, JSON, etc."
 url="https://github.com/chrisdone/descriptive"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-bifunctors" "haskell-mtl" "haskell-scientific"
+depends=("ghc" "haskell-aeson" "haskell-bifunctors" "haskell-mtl" "haskell-scientific"
          "haskell-text" "haskell-vector")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('795ec65756bf87ec6ea4c92d85a25d0eb0d8cfa1df40685ddcf74b83099bba2f')
@@ -18,7 +18,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
@@ -38,5 +38,8 @@
     ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${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