[arch-commits] Commit in pandoc-crossref/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Aug 17 15:14:27 UTC 2017
Date: Thursday, August 17, 2017 @ 15:14:26
Author: felixonmars
Revision: 251707
upgpkg: pandoc-crossref 0.2.6.0-3
GHC 8.2.1 rebuild
Modified:
pandoc-crossref/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-17 15:12:15 UTC (rev 251706)
+++ PKGBUILD 2017-08-17 15:14:26 UTC (rev 251707)
@@ -4,16 +4,17 @@
pkgname=pandoc-crossref
pkgver=0.2.6.0
-pkgrel=2
+pkgrel=3
pkgdesc="Pandoc filter for cross-references"
url="https://hackage.haskell.org/package/${pkgname}"
license=("GPL2")
arch=('i686' 'x86_64')
-depends=('ghc' "haskell-data-default" "haskell-data-accessor" "haskell-data-accessor-template"
+depends=('ghc-libs' "haskell-data-default" "haskell-data-accessor" "haskell-data-accessor-template"
"haskell-data-accessor-transformers" "haskell-mtl" "pandoc" "haskell-pandoc-types"
"haskell-roman-numerals" "haskell-syb" "haskell-utility-ht")
conflicts=('haskell-pandoc-crossref')
replaces=('haskell-pandoc-crossref')
+makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('2af52b5f347b039148d5285b1277a1c3e382bf0f666d353ac593635f1bae3ef692fac7319ed0ca8c9ab33475a2bb28ae5b540d80c637eb39f8f5a22830258fc1')
@@ -24,7 +25,6 @@
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
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
@@ -36,8 +36,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/${pkgname}"
runhaskell Setup copy --destdir="${pkgdir}"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
More information about the arch-commits
mailing list