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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 15:54:24 UTC 2017


    Date: Saturday, September 23, 2017 @ 15:54:23
  Author: felixonmars
Revision: 260060

upgpkg: haskell-websockets 0.12.2.0-3

Modified:
  haskell-websockets/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 15:51:52 UTC (rev 260059)
+++ PKGBUILD	2017-09-23 15:54:23 UTC (rev 260060)
@@ -5,7 +5,7 @@
 _hkgname=websockets
 pkgname=haskell-websockets
 pkgver=0.12.2.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A sensible and clean way to write WebSocket-capable servers in Haskell."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -20,7 +20,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -f-Example
@@ -39,7 +39,4 @@
     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