Date: Tuesday, August 15, 2017 @ 10:27:12 Author: felixonmars Revision: 250864
upgpkg: haskell-language-c 0.6.1-6 GHC 8.2.1 rebuild Modified: haskell-language-c/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-15 10:23:21 UTC (rev 250863) +++ PKGBUILD 2017-08-15 10:27:12 UTC (rev 250864) @@ -5,13 +5,13 @@ _hkgname=language-c pkgname=haskell-language-c pkgver=0.6.1 -pkgrel=5 +pkgrel=6 pkgdesc="Analysis and generation of C code" url="http://visq.github.io/language-c/" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=('ghc' "haskell-syb") -makedepends=('happy' 'alex') +depends=('ghc-libs' "haskell-syb") +makedepends=('happy' 'alex' 'ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz" float128.patch) sha256sums=('23cadc9d04e46490ec57f56b79ecdc2a709ebf57571345905e6e30db29fa37e8' @@ -25,7 +25,7 @@ build() { cd "${srcdir}/${_hkgname}-${pkgver}" - + rm -fr dist runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \ @@ -33,7 +33,6 @@ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ -fseparatesyb -fusebytestrings -fsplitbase runhaskell Setup build - runhaskell Setup haddock --hoogle --html runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh @@ -42,11 +41,9 @@ package() { cd "${srcdir}/${_hkgname}-${pkgver}" - + install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" - install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" - ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" runhaskell Setup copy --destdir="${pkgdir}" install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
