Date: Thursday, June 15, 2017 @ 18:09:19 Author: felixonmars Revision: 237329
upgpkg: haskell-juicypixels 3.2.8.1-3 rebuild with ghc,8.0.2 Modified: haskell-juicypixels/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 18:04:29 UTC (rev 237328) +++ PKGBUILD 2017-06-15 18:09:19 UTC (rev 237329) @@ -5,12 +5,12 @@ _hkgname=JuicyPixels pkgname=haskell-juicypixels pkgver=3.2.8.1 -pkgrel=2 +pkgrel=3 pkgdesc="Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)" url="https://github.com/Twinside/Juicy.Pixels" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-mtl" "haskell-primitive" "haskell-vector" "haskell-zlib") +depends=("ghc" "haskell-mtl" "haskell-primitive" "haskell-vector" "haskell-zlib") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('b325ed50b887d65af7175bba03a2df5ef04a1e0f73adf2e3aa62d1676fa27104') @@ -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 \ -f-mmap @@ -39,4 +39,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 }
