Date: Friday, June 16, 2017 @ 15:54:38 Author: felixonmars Revision: 237719
upgpkg: haskell-monad-journal 0.7.2-24 rebuild with ghc,8.0.2 Modified: haskell-monad-journal/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 15:53:06 UTC (rev 237718) +++ PKGBUILD 2017-06-16 15:54:38 UTC (rev 237719) @@ -5,13 +5,12 @@ _hkgname=monad-journal pkgname=haskell-monad-journal pkgver=0.7.2 -pkgrel=23 +pkgrel=24 pkgdesc="Pure logger typeclass and monad transformer" url="http://github.com/phaazon/monad-journal" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-either" "haskell-monad-control" "haskell-mtl" - "haskell-transformers-base") +depends=("ghc" "haskell-either" "haskell-monad-control" "haskell-mtl" "haskell-transformers-base") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('72b1a676bd994198544c4861a05b1d1b4f7ae55ea35a837cace539b8d6c69d08') @@ -18,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 @@ -39,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 }
