Date: Sunday, April 2, 2023 @ 02:41:18 Author: felixonmars Revision: 1431879
archrelease: copy trunk to community-staging-x86_64 Added: pandoc-cli/repos/community-staging-x86_64/PKGBUILD (from rev 1431878, pandoc-cli/trunk/PKGBUILD) Deleted: pandoc-cli/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-02 02:41:02 UTC (rev 1431878) +++ PKGBUILD 2023-04-02 02:41:18 UTC (rev 1431879) @@ -1,50 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=pandoc-cli -pkgver=0.1 -pkgrel=44 -pkgdesc="Conversion between documentation formats" -url="https://pandoc.org" -license=("GPL") -arch=('x86_64') -provides=('pandoc') -conflicts=('pandoc') -replaces=('pandoc') -depends=('ghc-libs' 'hslua-cli' 'haskell-pandoc' 'haskell-pandoc-lua-engine' 'haskell-pandoc-server' - 'haskell-safe' 'haskell-wai-extra' 'haskell-warp') -makedepends=('ghc' 'uusi') -source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('c5d6ac5fecfcbc0c2a69c696dc543e60bcf9685fc3db3ae5d9929abe6c28cb05') - -prepare() { - cd $pkgname-$pkgver - gen-setup -} - -build() { - cd $pkgname-$pkgver - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --datasubdir=haskell-pandoc-cli --enable-tests \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ - --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ - --ghc-option='-pie' \ - -flua -f-nightly -fserver - - runhaskell Setup build $MAKEFLAGS -} - -check() { - cd $pkgname-$pkgver - runhaskell Setup test --show-details=direct -} - -package() { - cd $pkgname-$pkgver - runhaskell Setup copy --destdir="$pkgdir" - install -D -m644 COPYING.md -t "$pkgdir"/usr/share/licenses/$pkgname/ - rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYING.md - - LD_LIBRARY_PATH="$PWD/dist/build" dist/build/pandoc/pandoc --bash-completion > pandoc-completion.bash - install -Dm644 pandoc-completion.bash "$pkgdir"/usr/share/bash-completion/completions/pandoc -} Copied: pandoc-cli/repos/community-staging-x86_64/PKGBUILD (from rev 1431878, pandoc-cli/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-02 02:41:18 UTC (rev 1431879) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=pandoc-cli +pkgver=0.1 +pkgrel=45 +pkgdesc="Conversion between documentation formats" +url="https://pandoc.org" +license=("GPL") +arch=('x86_64') +provides=('pandoc') +conflicts=('pandoc') +replaces=('pandoc') +depends=('ghc-libs' 'hslua-cli' 'haskell-pandoc' 'haskell-pandoc-lua-engine' 'haskell-pandoc-server' + 'haskell-safe' 'haskell-wai-extra' 'haskell-warp') +makedepends=('ghc' 'uusi') +source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('c5d6ac5fecfcbc0c2a69c696dc543e60bcf9685fc3db3ae5d9929abe6c28cb05') + +prepare() { + cd $pkgname-$pkgver + gen-setup +} + +build() { + cd $pkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --datasubdir=haskell-pandoc-cli --enable-tests \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' \ + -flua -f-nightly -fserver + + runhaskell Setup build $MAKEFLAGS +} + +check() { + cd $pkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $pkgname-$pkgver + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 COPYING.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYING.md + + LD_LIBRARY_PATH="$PWD/dist/build" dist/build/pandoc/pandoc --bash-completion > pandoc-completion.bash + install -Dm644 pandoc-completion.bash "$pkgdir"/usr/share/bash-completion/completions/pandoc +}