Date: Thursday, June 15, 2017 @ 05:01:04 Author: felixonmars Revision: 237006
upgpkg: haskell-profunctors 5.2-29 rebuild with ghc,8.0.2 Modified: haskell-profunctors/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 04:58:44 UTC (rev 237005) +++ PKGBUILD 2017-06-15 05:01:04 UTC (rev 237006) @@ -5,13 +5,13 @@ _hkgname=profunctors pkgname=haskell-profunctors pkgver=5.2 -pkgrel=28 +pkgrel=29 pkgdesc="Profunctors" url="http://github.com/ekmett/profunctors/" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-base-orphans" "haskell-bifunctors" "haskell-comonad" - "haskell-contravariant" "haskell-distributive" "haskell-tagged") +depends=("ghc" "haskell-base-orphans" "haskell-bifunctors" "haskell-comonad" "haskell-contravariant" + "haskell-distributive" "haskell-tagged") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('87a7e25c4745ea8ff479dd1212ec2e57710abb3d3dd30f948fa16be1d3ee05a4') @@ -22,7 +22,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 @@ -43,4 +43,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 }
