diff options
author | felixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65> | 2019-11-24 16:24:21 +0000 |
---|---|---|
committer | felixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65> | 2019-11-24 16:24:21 +0000 |
commit | d1d641a60cb9306c53d72e67fffc35c1ed2e3df0 (patch) | |
tree | 9a78c963aa59b4f6c79fc8b2b12db766b0697b09 | |
parent | 76e2a9bc052b354263ada169165271afed7bd8d8 (diff) |
db-move: moved pandoc-citeproc from [community-staging] to [community] (x86_64)
git-svn-id: file:///srv/repos/svn-community/svn@533077 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r-- | pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD | 57 | ||||
-rw-r--r-- | pandoc-citeproc/repos/community-x86_64/PKGBUILD | 2 |
2 files changed, 1 insertions, 58 deletions
diff --git a/pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD b/pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD deleted file mode 100644 index 987bebc7c1c..00000000000 --- a/pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer: Felix Yan <felixonmars@archlinux.org> -# Contributor: Arch Haskell Team <arch-haskell@haskell.org> - -pkgname=pandoc-citeproc -pkgver=0.16.2 -pkgrel=145 -pkgdesc="Supports using pandoc with citeproc" -url="https://hackage.haskell.org/package/$pkgname" -license=("BSD") -arch=('x86_64') -depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec' - 'haskell-base-compat' 'haskell-data-default' 'haskell-hs-bibutils' 'haskell-libyaml' - 'haskell-network' 'haskell-old-locale' 'pandoc' 'haskell-pandoc-types' 'haskell-rfc5051' - 'haskell-safe' 'haskell-setenv' 'haskell-split' 'haskell-syb' 'haskell-tagsoup' - 'haskell-temporary' 'haskell-text-icu' 'haskell-unordered-containers' 'haskell-vector' - 'haskell-xml-conduit' 'haskell-yaml') -conflicts=('haskell-pandoc-citeproc') -replaces=('haskell-pandoc-citeproc') -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz") -sha512sums=('90c3fabe3e1478f43b0157580deb691e5be8d3064144cbf4d67ab8f15bfd99c51b3e811b47bbe4fefc76c4efe660007ab05a782e5a5df01cd42965fe22e5c664') - -prepare() { - cd "${srcdir}/$pkgname-${pkgver}" - # TODO: find a better solution - sed -i "s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|" tests/test-pandoc-citeproc.hs -} - -build() { - cd "${srcdir}/$pkgname-${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 \ - -f-debug -f-test_citeproc -funicode_collation -f-embed_data_files -fbibutils -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 $pkgname-$pkgver - # https://github.com/jgm/pandoc-citeproc/issues/342 - runhaskell Setup test || warning "Tests failed" -} - -package() { - cd "${srcdir}/$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}" - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" - rm -f "${pkgdir}/usr/share/doc/$pkgname/LICENSE" -} diff --git a/pandoc-citeproc/repos/community-x86_64/PKGBUILD b/pandoc-citeproc/repos/community-x86_64/PKGBUILD index c488b21ffe8..987bebc7c1c 100644 --- a/pandoc-citeproc/repos/community-x86_64/PKGBUILD +++ b/pandoc-citeproc/repos/community-x86_64/PKGBUILD @@ -3,7 +3,7 @@ pkgname=pandoc-citeproc pkgver=0.16.2 -pkgrel=144 +pkgrel=145 pkgdesc="Supports using pandoc with citeproc" url="https://hackage.haskell.org/package/$pkgname" license=("BSD") |