Date: Thursday, June 15, 2017 @ 16:25:47 Author: felixonmars Revision: 237230
upgpkg: haskell-connection 0.2.8-13 rebuild with ghc,8.0.2 Modified: haskell-connection/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 16:24:07 UTC (rev 237229) +++ PKGBUILD 2017-06-15 16:25:47 UTC (rev 237230) @@ -5,13 +5,14 @@ _hkgname=connection pkgname=haskell-connection pkgver=0.2.8 -pkgrel=12 +pkgrel=13 pkgdesc="Simple and easy network connections API" url="http://github.com/vincenthz/hs-connection" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-byteable" "haskell-data-default-class" "haskell-network" "haskell-socks" - "haskell-tls" "haskell-x509" "haskell-x509-store" "haskell-x509-system" "haskell-x509-validation") +depends=("ghc" "haskell-byteable" "haskell-data-default-class" "haskell-network" "haskell-socks" + "haskell-tls" "haskell-x509" "haskell-x509-store" "haskell-x509-system" + "haskell-x509-validation") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('70b1f44e8786320c18b26fc5d4ec115fc8ac016ba1f852fa8137f55d785a93eb') @@ -18,7 +19,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 +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 }
