Date: Saturday, February 4, 2023 @ 20:42:44 Author: felixonmars Revision: 1392408
rename pandoc to haskell-pandoc Added: haskell-pandoc/ Modified: haskell-pandoc/trunk/PKGBUILD Deleted: pandoc/ ----------+ PKGBUILD | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) Modified: haskell-pandoc/trunk/PKGBUILD =================================================================== --- pandoc/trunk/PKGBUILD 2023-02-04 20:39:34 UTC (rev 1392407) +++ haskell-pandoc/trunk/PKGBUILD 2023-02-04 20:42:44 UTC (rev 1392408) @@ -3,8 +3,8 @@ # Contributor: Arch Haskell Team <[email protected]> pkgname=pandoc -pkgver=2.19.2 -pkgrel=61 +pkgver=3.0 +pkgrel=0 pkgdesc='Conversion between markup formats' url='https://pandoc.org' license=('GPL') @@ -14,32 +14,28 @@ 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-citeproc' 'haskell-commonmark' 'haskell-commonmark-extensions' 'haskell-commonmark-pandoc' 'haskell-connection' 'haskell-data-default' 'haskell-doclayout' 'haskell-doctemplates' 'haskell-emojis' - 'haskell-file-embed' 'haskell-gridtables' 'haskell-haddock-library' 'haskell-hslua' - 'haskell-hslua-aeson' 'haskell-hslua-module-doclayout' 'haskell-hslua-module-path' - 'haskell-hslua-module-system' 'haskell-hslua-module-text' 'haskell-hslua-module-version' - 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 'haskell-ipynb' - 'haskell-jira-wiki-markup' 'haskell-lpeg' 'haskell-network' 'haskell-network-uri' - 'haskell-pandoc-lua-marshal' 'haskell-pandoc-types' 'haskell-pretty-show' 'haskell-random' - 'haskell-safe' 'haskell-scientific' 'haskell-servant-server' 'haskell-skylighting' - 'haskell-skylighting-core' 'haskell-split' 'haskell-syb' 'haskell-tagsoup' - 'haskell-temporary' 'haskell-texmath' 'haskell-text-conversions' - 'haskell-unicode-collation' 'haskell-unicode-transforms' 'haskell-wai' 'haskell-wai-extra' - 'haskell-warp' 'haskell-xml' 'haskell-xml-conduit' 'haskell-xml-types' 'haskell-yaml' - 'haskell-zip-archive' 'haskell-zlib') + 'haskell-file-embed' 'haskell-gridtables' 'haskell-haddock-library' 'haskell-http-client' + 'haskell-http-client-tls' 'haskell-http-types' 'haskell-ipynb' 'haskell-jira-wiki-markup' + 'haskell-mime-types' 'haskell-network' 'haskell-network-uri' 'haskell-pandoc-types' + 'haskell-pretty-show' 'haskell-random' 'haskell-safe' 'haskell-scientific' + 'haskell-skylighting' 'haskell-skylighting-core' 'haskell-split' 'haskell-syb' + 'haskell-tagsoup' 'haskell-temporary' 'haskell-texmath' 'haskell-text-conversions' + 'haskell-unicode-collation' 'haskell-unicode-transforms' 'haskell-xml' + 'haskell-xml-conduit' 'haskell-xml-types' 'haskell-yaml' 'haskell-zip-archive' + 'haskell-zlib') optdepends=('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' 'uusi' 'bubblewrap' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-golden' - 'haskell-tasty-hunit' 'haskell-tasty-lua' 'haskell-tasty-quickcheck') +makedepends=('ghc' 'bubblewrap' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-golden' + 'haskell-tasty-hunit' 'haskell-tasty-quickcheck') source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('3628a9193d5138294bae562726bcd94567eec10fa0053d43739af04d4eba0a53bd49c2c000a5360afcac08153960a9bf2ee4be3c419cec7e5c13273e718edc80') +sha512sums=('be25f6fcf141da0c9b5a46f568387789139b728553ed710fdef986f62deebb97ed73aad9c4d59ca9e0b176ecf12f2a6bd881247a80b6f2c79fc01f5e40510097') prepare() { cd $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 - uusi -u gridtables $pkgname.cabal } build() { @@ -48,7 +44,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir="/usr/share/doc/$pkgname" --datasubdir=$pkgname --enable-tests \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ - -f-embed_data_files -f-static -f-lua53 + -f-embed_data_files runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script @@ -58,7 +54,7 @@ check() { cd $pkgname-$pkgver - LC_CTYPE=en_US.UTF-8 runhaskell Setup test || echo "Tests failed" + LC_CTYPE=en_US.UTF-8 runhaskell Setup test } package() {
