Date: Sunday, May 15, 2022 @ 03:15:14 Author: felixonmars Revision: 1205937
archrelease: copy trunk to community-staging-x86_64 Added: haskell-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 1205936, haskell-citeproc/trunk/PKGBUILD) Deleted: haskell-citeproc/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-15 03:15:00 UTC (rev 1205936) +++ PKGBUILD 2022-05-15 03:15:14 UTC (rev 1205937) @@ -1,54 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Caleb Maclennan <ca...@alerque.com> - -_hkgname=citeproc -pkgname=haskell-citeproc -pkgver=0.6.0.1 -pkgrel=44 -pkgdesc="Generates citations and bibliography from CSL styles." -url="https://github.com/jgm/citeproc" -license=("BSD") -arch=('x86_64') -depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec' - 'haskell-case-insensitive' 'haskell-data-default' 'haskell-file-embed' - 'haskell-pandoc-types' 'haskell-safe' 'haskell-scientific' 'haskell-text-icu' - 'haskell-unicode-collation' 'haskell-uniplate' 'haskell-vector' 'haskell-xml-conduit') -makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-timeit') -source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") -sha512sums=('ba9949d089e1a1ae27b16a19639aeaa18cebe1113861afabd97a1ee0fa2c9ca1444d7a36335422a3cabc90a1840a5cc99ca6ba8146c43008df4967dcea271ac3') - -prepare() { - cd $_hkgname-$pkgver - gen-setup -} - -build() { - cd $_hkgname-$pkgver - - 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 \ - --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ - --ghc-option='-pie' -fexecutable -ficu - - 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 $_hkgname-$pkgver - runhaskell Setup test --show-details=direct -} - -package() { - cd $_hkgname-$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" - install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ - rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE -} Copied: haskell-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 1205936, haskell-citeproc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-15 03:15:14 UTC (rev 1205937) @@ -0,0 +1,54 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Caleb Maclennan <ca...@alerque.com> + +_hkgname=citeproc +pkgname=haskell-citeproc +pkgver=0.6.0.1 +pkgrel=45 +pkgdesc="Generates citations and bibliography from CSL styles." +url="https://github.com/jgm/citeproc" +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec' + 'haskell-case-insensitive' 'haskell-data-default' 'haskell-file-embed' + 'haskell-pandoc-types' 'haskell-safe' 'haskell-scientific' 'haskell-text-icu' + 'haskell-unicode-collation' 'haskell-uniplate' 'haskell-vector' 'haskell-xml-conduit') +makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-timeit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") +sha512sums=('ba9949d089e1a1ae27b16a19639aeaa18cebe1113861afabd97a1ee0fa2c9ca1444d7a36335422a3cabc90a1840a5cc99ca6ba8146c43008df4967dcea271ac3') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +build() { + cd $_hkgname-$pkgver + + 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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' -fexecutable -ficu + + 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 $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $_hkgname-$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" + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}