Date: Wednesday, June 14, 2017 @ 19:13:19 Author: felixonmars Revision: 236806
upgpkg: haskell-stm 2.4.4.1-4 rebuild with ghc,8.0.2 Modified: haskell-stm/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-14 19:10:30 UTC (rev 236805) +++ PKGBUILD 2017-06-14 19:13:19 UTC (rev 236806) @@ -7,12 +7,12 @@ _hkgname=stm pkgname=haskell-stm pkgver=2.4.4.1 -pkgrel=3 +pkgrel=4 pkgdesc="A modular composable concurrency abstraction." -url="http://hackage.haskell.org/package/stm" +url="https://hackage.haskell.org/package/stm" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'sh') +depends=('ghc' 'sh') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz") md5sums=('480b37cce3d35c11fd67bf9df957ae19') @@ -19,7 +19,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 \ -f-developer -f-integer-simple @@ -41,4 +41,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 }
