Date: Thursday, June 15, 2017 @ 16:03:39 Author: felixonmars Revision: 237210
upgpkg: haskell-hxt 9.3.1.16-3 rebuild with ghc,8.0.2 Modified: haskell-hxt/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 15:58:30 UTC (rev 237209) +++ PKGBUILD 2017-06-15 16:03:39 UTC (rev 237210) @@ -4,13 +4,13 @@ _hkgname=hxt pkgname=haskell-hxt pkgver=9.3.1.16 -pkgrel=2 +pkgrel=3 pkgdesc="A collection of tools for processing XML with Haskell." url="https://github.com/UweSchmidt/hxt" license=('MIT') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-hxt-charproperties' 'haskell-hxt-regex-xmlschema' - 'haskell-hxt-unicode' 'haskell-network-uri' 'haskell-mtl' 'haskell-parsec') +depends=('ghc' 'haskell-hxt-charproperties' 'haskell-hxt-regex-xmlschema' 'haskell-hxt-unicode' + 'haskell-network-uri' 'haskell-mtl' 'haskell-parsec') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") md5sums=('b29bfffe122fe11edfa6263489030706') @@ -17,7 +17,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 @@ -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 }
