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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 05:12:38 UTC 2017


    Date: Saturday, September 23, 2017 @ 05:12:37
  Author: felixonmars
Revision: 259822

upgpkg: haskell-wai 3.2.1.1-20

Modified:
  haskell-wai/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 05:12:21 UTC (rev 259821)
+++ PKGBUILD	2017-09-23 05:12:37 UTC (rev 259822)
@@ -5,7 +5,7 @@
 _hkgname=wai
 pkgname=haskell-wai
 pkgver=3.2.1.1
-pkgrel=19
+pkgrel=20
 pkgdesc="Web Application Interface."
 url="https://github.com/yesodweb/wai"
 license=("MIT")
@@ -14,7 +14,7 @@
          "haskell-vault")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('5d80a68f5d8806682d8267b7dacc383d094e3ef7ecd705f20e42c91cad564e21')
+sha512sums=('5fadbc5e665002f9e1a5d962731309bac6cb91a0533ba8ce0ae8d69014322e2a2960bcd0e6c56e65e3a2a03be6832ba5e72dcca6ae33620f1cd1791ea725f6a3')
 
 prepare() {
     sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
@@ -23,7 +23,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
     runhaskell Setup build
@@ -41,7 +41,4 @@
     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