diff options
author | felixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65> | 2019-11-24 16:24:19 +0000 |
---|---|---|
committer | felixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65> | 2019-11-24 16:24:19 +0000 |
commit | 76e2a9bc052b354263ada169165271afed7bd8d8 (patch) | |
tree | 5d3dcfeb132b6b4aaa638a82c4ed9d04192554eb | |
parent | 6c114d649556805cf2b1823b3c322e0a4b5862c4 (diff) |
db-move: moved pandoc from [community-staging] to [community] (x86_64)
git-svn-id: file:///srv/repos/svn-community/svn@533076 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r-- | pandoc/repos/community-staging-x86_64/PKGBUILD | 66 | ||||
-rw-r--r-- | pandoc/repos/community-x86_64/PKGBUILD | 2 |
2 files changed, 1 insertions, 67 deletions
diff --git a/pandoc/repos/community-staging-x86_64/PKGBUILD b/pandoc/repos/community-staging-x86_64/PKGBUILD deleted file mode 100644 index 7255eaab17b..00000000000 --- a/pandoc/repos/community-staging-x86_64/PKGBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Maintainer: Felix Yan <felixonmars@archlinux.org> -# Contributor: Arch Haskell Team <arch-haskell@haskell.org> - -pkgname=pandoc -pkgver=2.7.3 -pkgrel=77 -pkgdesc='Conversion between markup formats' -url='https://pandoc.org' -license=('GPL') -arch=('x86_64') -depends=('ghc-libs' 'haskell-http' 'haskell-juicypixels' 'haskell-sha' 'haskell-aeson' - 'haskell-aeson-pretty' 'haskell-attoparsec' 'haskell-base-compat' 'haskell-base64-bytestring' - 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-cmark-gfm' - 'haskell-data-default' 'haskell-doctemplates' 'haskell-exceptions' 'haskell-glob' - 'haskell-haddock-library' 'haskell-ipynb' 'haskell-skylighting' 'haskell-hslua' - 'haskell-hslua-module-system' 'haskell-hslua-module-text' 'haskell-http-client' - 'haskell-syb' 'haskell-hsyaml' 'haskell-http-client-tls' 'haskell-http-types' - 'haskell-safe' 'haskell-split' 'haskell-texmath' 'haskell-network' 'haskell-pandoc-types' - 'haskell-random' 'haskell-scientific' 'haskell-tagsoup' 'haskell-temporary' - 'haskell-network-uri' 'haskell-unicode-transforms' 'haskell-unordered-containers' - 'haskell-zip-archive' 'haskell-vector' 'haskell-xml' '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-lua' - '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=('7db610ed1f5bad7ae91b9c89b210500c0e2f8660982cf424080ea8a603ca1891187bbf6e4a48144b48716fd0131d204e953175a82668be44c39898041bac9740') - -prepare() { - cd "${srcdir}/$pkgname-${pkgver}" - - # TODO: find a better solution - sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ [(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs - sed -i 's/< *0.4/<1/' $pkgname.cabal -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - runhaskell Setup configure -O --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-trypandoc -f-embed_data_files -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}" - LC_CTYPE=en_US.UTF-8 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" -} diff --git a/pandoc/repos/community-x86_64/PKGBUILD b/pandoc/repos/community-x86_64/PKGBUILD index 87eddc423b5..7255eaab17b 100644 --- a/pandoc/repos/community-x86_64/PKGBUILD +++ b/pandoc/repos/community-x86_64/PKGBUILD @@ -3,7 +3,7 @@ pkgname=pandoc pkgver=2.7.3 -pkgrel=76 +pkgrel=77 pkgdesc='Conversion between markup formats' url='https://pandoc.org' license=('GPL') |