Date: Friday, June 2, 2017 @ 09:43:58 Author: felixonmars Revision: 232985
archrelease: copy trunk to community-staging-any Added: biber/repos/community-staging-any/ biber/repos/community-staging-any/PKGBUILD (from rev 232984, biber/trunk/PKGBUILD) ----------+ PKGBUILD | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) Copied: biber/repos/community-staging-any/PKGBUILD (from rev 232984, biber/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2017-06-02 09:43:58 UTC (rev 232985) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> + +pkgname=biber +pkgver=2.7 # for biblatex 3.7 +pkgrel=2 +pkgdesc="A Unicode-capable BibTeX replacement for biblatex users" +arch=('any') +license=('PerlArtistic' 'GPL') +url="https://sourceforge.net/projects/biblatex-biber/" +# Encode::* modules are not real dependencies. +depends=('perl-autovivification' + 'perl-business-isbn' + 'perl-business-ismn' + 'perl-business-issn' + 'perl-class-accessor' + 'perl-data-compare' + 'perl-data-dump' + 'perl-data-uniqid' + 'perl-datetime-calendar-julian' + 'perl-datetime-format-builder' + 'perl-file-slurp' + 'perl-io-string' # required by Biber::Output::bblxml + 'perl-ipc-run3' + 'perl-lingua-translit' + 'perl-list-allutils' + 'perl-log-log4perl' + 'perl-lwp-protocol-https' + 'perl-mozilla-ca' + 'perl-regexp-common' + 'perl-sort-key' + 'perl-text-bibtex' + 'perl-text-csv' + 'perl-text-roman' + 'perl-unicode-linebreak' + 'perl-xml-libxml-simple' + 'perl-xml-libxslt' + 'perl-xml-writer') +# ExtUtils::LibBuilder and Config::AutoConf are not actual makedepends +makedepends=('perl-module-build' 'perl-test-differences') +checkdepends=('perl-capture-tiny' 'perl-file-which') +options=('!emptydirs') +# The sourceforge tarball is missing bblxml.pm +source=("https://github.com/plk/biber/archive/v${pkgver}.tar.gz") +sha256sums=('a0afc4cd97d56f4f433e476de1d4bd9bf9740eb29191bf616b1ea3f424408d9f') + +prepare() { + cd "${srcdir}/biber-${pkgver}" + # Disable long year tests on 32 bit + if [[ $CARCH = "i686" ]]; then + sed -i '/17000002/ s+.*+eq_or_diff("dummy", "dummy", "skip 32 bit");+' t/dateformats.t + fi +} + +build() { + cd "${srcdir}/biber-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + perl Build.PL + ./Build +} + +check() { + cd "${srcdir}/biber-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + LC_CTYPE=en_US.UTF-8 BIBER_DEV_TESTS=1 ./Build test +} + +package() { + cd "${srcdir}/biber-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + ./Build install installdirs=vendor destdir="${pkgdir}" +}