Date: Friday, June 16, 2017 @ 06:45:47 Author: felixonmars Revision: 237503
upgpkg: haskell-xml-hamlet 0.4.1-31 rebuild with ghc,8.0.2 Modified: haskell-xml-hamlet/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 06:43:28 UTC (rev 237502) +++ PKGBUILD 2017-06-16 06:45:47 UTC (rev 237503) @@ -5,12 +5,12 @@ _hkgname=xml-hamlet pkgname=haskell-xml-hamlet pkgver=0.4.1 -pkgrel=30 +pkgrel=31 pkgdesc="Hamlet-style quasiquoter for XML content" url="http://www.yesodweb.com/" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-parsec" "haskell-shakespeare" "haskell-text" +depends=("ghc" "haskell-parsec" "haskell-shakespeare" "haskell-text" "haskell-xml-conduit") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('7df390f59599a0b16831c3f2cbb13ad0bebb92faa4a350fc6ae613bfba4ec2bb') @@ -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 runhaskell Setup build @@ -39,4 +39,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 }
