Date: Thursday, June 15, 2017 @ 18:50:18 Author: felixonmars Revision: 237351
upgpkg: haskell-monoid-subclasses 0.4.3.1-4 rebuild with ghc,8.0.2 Modified: haskell-monoid-subclasses/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 18:47:56 UTC (rev 237350) +++ PKGBUILD 2017-06-15 18:50:18 UTC (rev 237351) @@ -5,12 +5,12 @@ _hkgname=monoid-subclasses pkgname=haskell-monoid-subclasses pkgver=0.4.3.1 -pkgrel=3 +pkgrel=4 pkgdesc="Subclasses of Monoid" url="https://github.com/blamario/monoid-subclasses/" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-primes' 'haskell-text' 'haskell-vector') +depends=('ghc' 'haskell-primes' 'haskell-text' 'haskell-vector') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") md5sums=('0a07d751c3558da3051c08999a89b7d4') @@ -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 "BSD3-LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/BSD3-LICENSE.txt" rm -f "${pkgdir}/usr/share/doc/${pkgname}/BSD3-LICENSE.txt" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete }
