From 45830b101bf5dbeb2d59aad23c7cc301f1258250 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 5 Dec 2017 13:33:19 +0000 Subject: [PATCH] removed community/pandbc --- community/pandoc/PKGBUILD | 62 --------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 community/pandoc/PKGBUILD diff --git a/community/pandoc/PKGBUILD b/community/pandoc/PKGBUILD deleted file mode 100644 index 4763ad683..000000000 --- a/community/pandoc/PKGBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -# ALARM: Kevin Mihelich -# - build with -O0 to fix OOM - -pkgname=pandoc -pkgver=2.0.4 -pkgrel=1 -pkgdesc="Conversion between markup formats" -url="http://pandoc.org" -license=("GPL") -arch=('x86_64') -depends=('ghc-libs' "haskell-http" "haskell-juicypixels" "haskell-sha" "haskell-aeson" - "haskell-aeson-pretty" "haskell-base64-bytestring" "haskell-blaze-html" - "haskell-blaze-markup" "haskell-case-insensitive" "haskell-cmark-gfm" - "haskell-data-default" "haskell-doctemplates" "haskell-glob" "haskell-mtl" - "haskell-haddock-library" "haskell-skylighting" "haskell-hslua" "haskell-hslua-module-text" - "haskell-http-client" "haskell-syb" "haskell-http-client-tls" "haskell-http-types" - "haskell-safe" "haskell-split" "haskell-text" "haskell-texmath" "haskell-network" - "haskell-pandoc-types" "haskell-parsec" "haskell-random" "haskell-scientific" - "haskell-tagsoup" "haskell-temporary" "haskell-network-uri" "haskell-unordered-containers" - "haskell-zip-archive" "haskell-vector" "haskell-xml" "haskell-yaml" "haskell-zlib") -optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc filter' - 'pandoc-crossref: for numbering figures, equations, tables and cross-references to them with pandoc-crossref filter' - 'texlive-core: for pdf output') -conflicts=('haskell-pandoc') -replaces=('haskell-pandoc') -makedepends=('ghc' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' - 'haskell-tasty-golden' 'haskell-quickcheck' 'haskell-executable-path') -source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('7de8f7995d57313c3bb1223b72deb131a433f6aa69e059964700b2bf96d3b3579a9e0125dc3fa7cdf5b504e3974aa9a9caad34dbbc4bec0089dadde1dbb9acb0') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - runhaskell Setup configure -O0 --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" --datasubdir="$pkgname" --enable-tests \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ - -f-old-locale -fnetwork-uri -f-trypandoc -f-embed_data_files -f-weigh-pandoc -f-static - runhaskell Setup build - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -check() { - cd "${srcdir}/${pkgname}-${pkgver}" - # TODO: find a way to run pandoc executable in tests with dynamic executable enabled - # LD_PRELOAD=$(ls dist/build/libHSpandoc-*-ghc*.so) - runhaskell Setup test || warning "Tests failed" -} - -package() { - cd "${srcdir}/${pkgbase}-${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" - runhaskell Setup copy --destdir="${pkgdir}" - rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md" -}