Date: Wednesday, June 14, 2017 @ 19:42:43 Author: felixonmars Revision: 236837
upgpkg: haskell-mtl 2.2.1-7 rebuild with ghc,8.0.2 Modified: haskell-mtl/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-14 19:41:20 UTC (rev 236836) +++ PKGBUILD 2017-06-14 19:42:43 UTC (rev 236837) @@ -5,12 +5,12 @@ _hkgname=mtl pkgname=haskell-mtl pkgver=2.2.1 -pkgrel=6 +pkgrel=7 pkgdesc="Monad classes, using functional dependencies" -url="http://hackage.haskell.org/package/${_hkgname}" +url="https://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'sh') +depends=('ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") md5sums=('96a2f12b94ea8d7cb0aea999cd2e3802') @@ -21,7 +21,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 @@ -42,4 +42,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 }