[arch-commits] Commit in haskell-skylighting/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 16 07:50:49 UTC 2017
Date: Wednesday, August 16, 2017 @ 07:50:48
Author: felixonmars
Revision: 251251
upgpkg: haskell-skylighting 0.1.1.5-31
GHC 8.2.1 rebuild
Modified:
haskell-skylighting/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-16 07:40:38 UTC (rev 251250)
+++ PKGBUILD 2017-08-16 07:50:48 UTC (rev 251251)
@@ -4,14 +4,15 @@
_hkgname=skylighting
pkgname=haskell-skylighting
pkgver=0.1.1.5
-pkgrel=30
+pkgrel=31
pkgdesc="Syntax highlighting library"
url="https://github.com/jgm/skylighting"
license=('GPL2')
arch=('i686' 'x86_64')
-depends=('ghc' 'haskell-aeson' 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-hxt'
+depends=('ghc-libs' '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')
+makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
system-pcre.patch)
md5sums=('7681c510ab20d79a32a0a54479a2325c'
@@ -30,7 +31,6 @@
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-fsystem-pcre
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,8 +42,6 @@
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}"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
More information about the arch-commits
mailing list