Date: Tuesday, August 4, 2020 @ 07:48:56 Author: felixonmars Revision: 668722
archrelease: copy trunk to community-staging-x86_64 Added: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 668721, pandoc-crossref/trunk/PKGBUILD) Deleted: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-04 07:48:44 UTC (rev 668721) +++ PKGBUILD 2020-08-04 07:48:56 UTC (rev 668722) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=pandoc-crossref -pkgver=0.3.6.3 -pkgrel=53 -pkgdesc="Pandoc filter for cross-references" -url="https://hackage.haskell.org/package/${pkgname}" -license=("GPL2") -arch=('x86_64') -depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 'haskell-data-accessor-template' - 'haskell-data-accessor-transformers' 'haskell-gitrev' 'haskell-open-browser' - 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 'haskell-roman-numerals' - 'haskell-syb' 'haskell-utility-ht') -makedepends=('ghc' 'haskell-hspec') -conflicts=('haskell-pandoc-crossref') -replaces=('haskell-pandoc-crossref') -source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz") -sha512sums=('dbe9a3b8b1b48e00d6f35a523f31c999890669ea3c16c848b4f68f8b89ba2713ce8ed8da36ff70da882d6b8e33c9953b93943457255efb8f474b8e7cf586264f') - -build() { - cd $pkgname-$pkgver - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests --datasubdir="$pkgname" \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ - -f-enable_flaky_tests - runhaskell Setup build $MAKEFLAGS - 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 $pkgname-$pkgver - runhaskell Setup test -} - -package() { - cd $pkgname-$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/LICENSE -} Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 668721, pandoc-crossref/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-04 07:48:56 UTC (rev 668722) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=pandoc-crossref +pkgver=0.3.6.3 +pkgrel=54 +pkgdesc="Pandoc filter for cross-references" +url="https://hackage.haskell.org/package/${pkgname}" +license=("GPL2") +arch=('x86_64') +depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 'haskell-data-accessor-template' + 'haskell-data-accessor-transformers' 'haskell-gitrev' 'haskell-open-browser' + 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 'haskell-roman-numerals' + 'haskell-syb' 'haskell-utility-ht') +makedepends=('ghc' 'haskell-hspec') +conflicts=('haskell-pandoc-crossref') +replaces=('haskell-pandoc-crossref') +source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz") +sha512sums=('dbe9a3b8b1b48e00d6f35a523f31c999890669ea3c16c848b4f68f8b89ba2713ce8ed8da36ff70da882d6b8e33c9953b93943457255efb8f474b8e7cf586264f') + +build() { + cd $pkgname-$pkgver + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests --datasubdir="$pkgname" \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ + -f-enable_flaky_tests + runhaskell Setup build $MAKEFLAGS + 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 $pkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $pkgname-$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/LICENSE +}