Date: Friday, June 16, 2017 @ 18:01:16 Author: felixonmars Revision: 237779
upgpkg: haskell-lrucache 1.2.0.0-20 rebuild with ghc,8.0.2 Modified: haskell-lrucache/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 17:59:01 UTC (rev 237778) +++ PKGBUILD 2017-06-16 18:01:16 UTC (rev 237779) @@ -5,12 +5,12 @@ _hkgname=lrucache pkgname=haskell-lrucache pkgver=1.2.0.0 -pkgrel=19 +pkgrel=20 pkgdesc="a simple, pure LRU cache" url="http://github.com/chowells79/lrucache" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-contravariant") +depends=("ghc" "haskell-contravariant") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616') @@ -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 }
