Date: Friday, June 16, 2017 @ 17:08:43 Author: felixonmars Revision: 237751
upgpkg: haskell-language-python 0.5.4-2 rebuild with ghc,8.0.2 Modified: haskell-language-python/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 16:59:38 UTC (rev 237750) +++ PKGBUILD 2017-06-16 17:08:43 UTC (rev 237751) @@ -5,12 +5,12 @@ _hkgname=language-python pkgname=haskell-language-python pkgver=0.5.4 -pkgrel=1 +pkgrel=2 pkgdesc="Parsing and pretty printing of Python code." url="https://hackage.haskell.org/package/${_hkgname}" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" 'haskell-monads-tf' 'haskell-utf8-string') +depends=("ghc" 'haskell-monads-tf' 'haskell-utf8-string') makedepends=('happy' 'alex') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('ba93508e5e7b6b3c881eb9b04f9032c2e8c5f20255d812a0a365eba82ffbf129') @@ -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 \ -fsplit-base @@ -40,4 +40,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 }
