[arch-commits] Commit in biber/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed Aug 1 14:04:42 UTC 2018


    Date: Wednesday, August 1, 2018 @ 14:04:41
  Author: felixonmars
Revision: 366861

archrelease: copy trunk to community-staging-any

Added:
  biber/repos/community-staging-any/
  biber/repos/community-staging-any/PKGBUILD
    (from rev 366860, biber/trunk/PKGBUILD)

----------+
 PKGBUILD |   73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

Copied: biber/repos/community-staging-any/PKGBUILD (from rev 366860, biber/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 14:04:41 UTC (rev 366861)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=biber
+pkgver=2.11
+pkgrel=2
+pkgdesc="A Unicode-capable BibTeX replacement for biblatex users"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+url="https://github.com/plk/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-slurper'
+         '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-perlio-utf8-strict'
+         '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")
+sha512sums=('669f69349bb88728b6b03a11e9acb8c47031de16f26d360b3ed18c5f9fe535241362ec46eecc3f259e76ef5a186c1daf51a6b7a501c2216b48ea4d31945ced5a')
+
+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}"
+}



More information about the arch-commits mailing list