Date: Thursday, June 15, 2017 @ 18:36:25 Author: felixonmars Revision: 237341
upgpkg: haskell-skylighting 0.1.1.5-21 rebuild with ghc,8.0.2 Modified: haskell-skylighting/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 18:26:30 UTC (rev 237340) +++ PKGBUILD 2017-06-15 18:36:25 UTC (rev 237341) @@ -4,12 +4,12 @@ _hkgname=skylighting pkgname=haskell-skylighting pkgver=0.1.1.5 -pkgrel=20 +pkgrel=21 pkgdesc="Syntax highlighting library" url="https://github.com/jgm/skylighting" license=('GPL2') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-aeson' 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-hxt' +depends=('ghc' 'haskell-aeson' 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-hxt' 'haskell-mtl' 'haskell-pretty-show' 'haskell-regex-pcre' 'haskell-safe' 'haskell-text' 'haskell-utf8-string') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz" @@ -25,7 +25,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 \ -fsystem-pcre @@ -46,4 +46,7 @@ ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" runhaskell Setup copy --destdir="${pkgdir}" rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete }
