Date: Saturday, July 23, 2016 @ 11:26:49 Author: remy Revision: 183869
archrelease: copy trunk to community-testing-any Added: biber/repos/community-testing-any/ biber/repos/community-testing-any/PKGBUILD (from rev 183868, biber/trunk/PKGBUILD) ----------+ PKGBUILD | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) Copied: biber/repos/community-testing-any/PKGBUILD (from rev 183868, biber/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2016-07-23 11:26:49 UTC (rev 183869) @@ -0,0 +1,61 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> + +pkgname=biber +pkgver=2.5 # for biblatex 3.4 +pkgrel=1 +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-date-simple' + '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-text-bibtex' + '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") +sha1sums=('c4cd1b49171f1a0ac9a58b2b651b9de3ea540cf0') + +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}" +}