Date: Thursday, June 15, 2017 @ 18:26:09
  Author: felixonmars
Revision: 237339

upgpkg: haskell-xss-sanitize 0.3.5.7-20

rebuild with ghc,8.0.2

Modified:
  haskell-xss-sanitize/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-06-15 18:21:53 UTC (rev 237338)
+++ PKGBUILD    2017-06-15 18:26:09 UTC (rev 237339)
@@ -5,13 +5,13 @@
 _hkgname=xss-sanitize
 pkgname=haskell-xss-sanitize
 pkgver=0.3.5.7
-pkgrel=19
+pkgrel=20
 pkgdesc="sanitize untrusted HTML to prevent XSS attacks"
 url="http://github.com/yesodweb/haskell-xss-sanitize";
 license=("custom:BSD2")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-attoparsec" "haskell-css-text" 
"haskell-network-uri"
-         "haskell-tagsoup" "haskell-text" "haskell-utf8-string")
+depends=("ghc" "haskell-attoparsec" "haskell-css-text" "haskell-network-uri" 
"haskell-tagsoup"
+         "haskell-text" "haskell-utf8-string")
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
 sha256sums=('955856413e70375c794766d04ac9ab7f0d3337dbb04a412c9b7ff5c415acac00')
 
@@ -18,7 +18,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 \
             -fnetwork-uri
@@ -40,4 +40,7 @@
     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
 }

Reply via email to