Date: Sunday, June 18, 2017 @ 12:19:49 Author: felixonmars Revision: 238064
upgpkg: haskell-success 0.2.6-3 rebuild with ghc,8.0.2 Modified: haskell-success/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-18 12:18:32 UTC (rev 238063) +++ PKGBUILD 2017-06-18 12:19:49 UTC (rev 238064) @@ -5,12 +5,12 @@ _hkgname=success pkgname=haskell-success pkgver=0.2.6 -pkgrel=2 +pkgrel=3 pkgdesc="A version of Either specialised for encoding of success or failure" url="https://github.com/nikita-volkov/success" license=("MIT") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-transformers-base" "haskell-monad-control" "haskell-mtl") +depends=("ghc" "haskell-transformers-base" "haskell-monad-control" "haskell-mtl") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('e995e77e8ae13bc4d543ea771f6a4d17853dea1ae46ef294131fc8c582f2dab6') @@ -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 "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 }
