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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 17:37:10 UTC 2017


    Date: Friday, September 22, 2017 @ 17:37:10
  Author: felixonmars
Revision: 259662

upgpkg: haskell-email-validate 2.3.1-5

Modified:
  haskell-email-validate/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 17:36:39 UTC (rev 259661)
+++ PKGBUILD	2017-09-22 17:37:10 UTC (rev 259662)
@@ -5,7 +5,7 @@
 _hkgname=email-validate
 pkgname=haskell-email-validate
 pkgver=2.3.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Validating an email address string against RFC 5322"
 url="http://porg.es/blog/email-address-validation-simpler-faster-more-correct"
 license=("custom:BSD3")
@@ -18,7 +18,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
@@ -36,7 +36,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