Date: Thursday, June 15, 2017 @ 20:06:52 Author: felixonmars Revision: 237415
upgpkg: haskell-vector-builder 0.3.1-2 rebuild with ghc,8.0.2 Modified: haskell-vector-builder/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 20:05:33 UTC (rev 237414) +++ PKGBUILD 2017-06-15 20:06:52 UTC (rev 237415) @@ -5,12 +5,12 @@ _hkgname=vector-builder pkgname=haskell-vector-builder pkgver=0.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Vector builder" url="https://github.com/nikita-volkov/vector-builder" license=("MIT") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-base-prelude" "haskell-semigroups" "haskell-vector") +depends=("ghc" "haskell-base-prelude" "haskell-semigroups" "haskell-vector") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('2155a4e987a362df21a16569f6dfc409962ffea56e2d46c2a218bc55452bf505910e512b212cfab52c9a4c7c04caf10dc584e16f4a813d3eead3c47ef7efbf4a') @@ -17,10 +17,9 @@ 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 \ - -ftagged -fsemigroups + --libsubdir=\$compiler/site-local/\$pkgid runhaskell Setup build runhaskell Setup haddock --hoogle --html runhaskell Setup register --gen-script @@ -39,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 }