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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 05:12:13 UTC 2017


    Date: Thursday, June 15, 2017 @ 05:12:13
  Author: felixonmars
Revision: 237016

upgpkg: haskell-http2 1.6.3-7

rebuild with ghc,8.0.2

Modified:
  haskell-http2/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 05:10:18 UTC (rev 237015)
+++ PKGBUILD	2017-06-15 05:12:13 UTC (rev 237016)
@@ -5,14 +5,13 @@
 _hkgname=http2
 pkgname=haskell-http2
 pkgver=1.6.3
-pkgrel=6
+pkgrel=7
 pkgdesc="HTTP/2.0 library including frames and HPACK"
 url="https://github.com/kazu-yamamoto/http2"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-aeson-pretty" "haskell-case-insensitive"
-         "haskell-hex" "haskell-psqueues" "haskell-stm" "haskell-text" "haskell-vector")
-makedepends=('haskell-word8')
+depends=("ghc" "haskell-aeson" "haskell-aeson-pretty" "haskell-case-insensitive" "haskell-hex"
+         "haskell-psqueues" "haskell-stm" "haskell-text" "haskell-vector" 'haskell-word8')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('61620eca0f57875a6a9bd24f9cc04c301b5c3c668bf98f85e9989aad5d069c43')
 
@@ -23,7 +22,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-devel
@@ -45,4 +44,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