Date: Friday, June 16, 2017 @ 10:17:50 Author: felixonmars Revision: 237611
upgpkg: haskell-sourcemap 0.1.6-28 rebuild with ghc,8.0.2 Modified: haskell-sourcemap/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 10:16:43 UTC (rev 237610) +++ PKGBUILD 2017-06-16 10:17:50 UTC (rev 237611) @@ -5,13 +5,13 @@ _hkgname=sourcemap pkgname=haskell-sourcemap pkgver=0.1.6 -pkgrel=27 +pkgrel=28 pkgdesc="Implementation of source maps as proposed by Google and Mozilla." url="https://hackage.haskell.org/package/${_hkgname}" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-aeson" "haskell-attoparsec" "haskell-text" - "haskell-unordered-containers" "haskell-utf8-string") +depends=("ghc" "haskell-aeson" "haskell-attoparsec" "haskell-text" "haskell-unordered-containers" + "haskell-utf8-string") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('b9a04cccb4fe7eea8b37a2eaf2bc776eae5640038ab76fb948c5a3ea09a9ce7a') @@ -18,7 +18,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 +39,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 }
