Date: Friday, June 16, 2017 @ 08:26:00 Author: felixonmars Revision: 237551
upgpkg: haskell-text-icu 0.7.0.1-9 rebuild with ghc,8.0.2 Modified: haskell-text-icu/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 08:23:54 UTC (rev 237550) +++ PKGBUILD 2017-06-16 08:26:00 UTC (rev 237551) @@ -5,12 +5,12 @@ _hkgname=text-icu pkgname=haskell-text-icu pkgver=0.7.0.1 -pkgrel=8 +pkgrel=9 pkgdesc="Bindings to the ICU library" url="https://github.com/bos/text-icu" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("icu" "ghc=8.0.1" "haskell-text") +depends=("icu" "ghc" "haskell-text") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('e2764c2749033706eed5b9fb3cda11177ad15cdf11912028f551eca39a2c7f78') @@ -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 }
