[arch-commits] Commit in hlint/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 16 20:22:55 UTC 2017
Date: Wednesday, August 16, 2017 @ 20:22:54
Author: felixonmars
Revision: 251539
upgpkg: hlint 2.0.9-16
GHC 8.2.1 rebuild
Modified:
hlint/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-16 20:20:19 UTC (rev 251538)
+++ PKGBUILD 2017-08-16 20:22:54 UTC (rev 251539)
@@ -4,16 +4,17 @@
pkgname=hlint
pkgver=2.0.9
-pkgrel=15
+pkgrel=16
pkgdesc="Source code suggestions"
url="http://community.haskell.org/~ndm/hlint/"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=('ghc' "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" "haskell-extra"
+depends=('ghc-libs' "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" "haskell-extra"
"haskell-src-exts" "haskell-hscolour" "haskell-uniplate" "haskell-refact" "haskell-text"
"haskell-unordered-containers" "haskell-vector" "haskell-yaml")
conflicts=('haskell-hlint')
replaces=('haskell-hlint')
+makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('f2082eec31b73c2c1b1f7ce246b15178d00c8e6f9840619fc11c545cde4120713c274236c85993e217c17886cd824276cf2738c32aeaf67af9c8b4c147c09cf7')
@@ -24,7 +25,6 @@
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-fgpl -fthreaded
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
@@ -35,8 +35,6 @@
cd "${srcdir}/${pkgname}-${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/${pkgname}"
runhaskell Setup copy --destdir="${pkgdir}"
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
More information about the arch-commits
mailing list