Date: Thursday, June 15, 2017 @ 03:07:09 Author: felixonmars Revision: 236918
upgpkg: haskell-network 2.6.3.2-2 rebuild with ghc,8.0.2 Modified: haskell-network/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 03:05:21 UTC (rev 236917) +++ PKGBUILD 2017-06-15 03:07:09 UTC (rev 236918) @@ -5,12 +5,12 @@ _hkgname=network pkgname=haskell-network pkgver=2.6.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="Low-level networking interface" url="https://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'sh') +depends=('ghc' 'sh') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('990eefc6f3635f3e6f75617bf13e8832983befd0194e48602fa2967002a4fccabfe9ce276759a403ad4d68802f59c8f50699aa78211cb8cc3dc2d6d91e0a6ea6') @@ -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 runhaskell Setup build @@ -38,4 +38,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 }
