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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 18:05:31 UTC 2017


    Date: Friday, June 16, 2017 @ 18:05:31
  Author: felixonmars
Revision: 237783

upgpkg: haskell-websockets 0.10.0.0-16

rebuild with ghc,8.0.2

Modified:
  haskell-websockets/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 18:04:06 UTC (rev 237782)
+++ PKGBUILD	2017-06-16 18:05:31 UTC (rev 237783)
@@ -5,12 +5,12 @@
 _hkgname=websockets
 pkgname=haskell-websockets
 pkgver=0.10.0.0
-pkgrel=15
+pkgrel=16
 pkgdesc="A sensible and clean way to write WebSocket-capable servers in Haskell."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-attoparsec" "haskell-base64-bytestring" "haskell-blaze-builder"
+depends=("ghc" "haskell-attoparsec" "haskell-base64-bytestring" "haskell-blaze-builder"
          "haskell-case-insensitive" "haskell-entropy" "haskell-network" "haskell-random"
          "haskell-sha" "haskell-text")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
@@ -19,7 +19,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-Example
@@ -41,4 +41,7 @@
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list