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

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


    Date: Saturday, September 23, 2017 @ 05:51:03
  Author: felixonmars
Revision: 259862

upgpkg: haskell-xss-sanitize 0.3.5.7-28

Modified:
  haskell-xss-sanitize/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 05:50:48 UTC (rev 259861)
+++ PKGBUILD	2017-09-23 05:51:03 UTC (rev 259862)
@@ -5,9 +5,9 @@
 _hkgname=xss-sanitize
 pkgname=haskell-xss-sanitize
 pkgver=0.3.5.7
-pkgrel=27
+pkgrel=28
 pkgdesc="sanitize untrusted HTML to prevent XSS attacks"
-url="http://github.com/yesodweb/haskell-xss-sanitize"
+url="https://github.com/yesodweb/haskell-xss-sanitize"
 license=("custom:BSD2")
 arch=('i686' 'x86_64')
 depends=('ghc-libs' "haskell-attoparsec" "haskell-css-text" "haskell-network-uri" "haskell-tagsoup"
@@ -14,12 +14,12 @@
          "haskell-text" "haskell-utf8-string")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('955856413e70375c794766d04ac9ab7f0d3337dbb04a412c9b7ff5c415acac00')
+sha512sums=('8633a160ef9ad5408767eecf5279b009e01621a3ac2e3a5cfd6a6a480c5f1991497d1e4eb7b0195fbdc296830d5ef729e7893b836555f3fbc2c313032f4de040')
 
 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 \
             -fnetwork-uri
@@ -38,7 +38,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