Date: Thursday, June 15, 2017 @ 19:29:42 Author: felixonmars Revision: 237383
upgpkg: haskell-extra 1.5.3-2 rebuild with ghc,8.0.2 Modified: haskell-extra/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 19:28:08 UTC (rev 237382) +++ PKGBUILD 2017-06-15 19:29:42 UTC (rev 237383) @@ -5,12 +5,12 @@ _hkgname=extra pkgname=haskell-extra pkgver=1.5.3 -pkgrel=1 +pkgrel=2 pkgdesc="Extra functions I use." url="https://github.com/ndmitchell/extra#readme" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-clock") +depends=("ghc" "haskell-clock") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('c8b553ea71b1195951048c5e3a95572338714289d8909996fce61ca117c45eb010ab2eaed22f69aa59372ae1cb5fae731a85d60b6d7181ae99c48a2bb05110da') @@ -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 }