From 67d69e9b3a7d90b0ba54bf0ba7b0affe085c41e4 Mon Sep 17 00:00:00 2001
From: Francesco Colista <fcolista@alpinelinux.org>
Date: Tue, 14 Nov 2017 00:43:05 +0000
Subject: [PATCH] community/biber: upgrade to 2.8

---
 community/biber/APKBUILD | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/community/biber/APKBUILD b/community/biber/APKBUILD
index a05e2be6652a..57a6b30f0391 100644
--- a/community/biber/APKBUILD
+++ b/community/biber/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Francesco Colista <fcolista@alpinelinux.org>
 # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
 pkgname=biber
-pkgver=2.7
+pkgver=2.8
 pkgrel=0
 pkgdesc="Backend processor for BibLaTeX"
 url="https://github.com/plk/biber"
@@ -18,16 +18,15 @@ depends="perl perl-module-build perl-config-autoconf
 	perl-lingua-translit perl-encode-jis2k perl-encode-eucjpascii
 	perl-business-isbn perl-business-ismn perl-business-issn
 	perl-datetime-calendar-julian perl-datetime-format-builder perl-sort-key
-	perl-text-csv perl-text-csv_xs"
+	perl-text-csv perl-text-csv_xs perl-list-moreutils-xs perl-perlio-utf8_strict perl-file-slurper"
 makedepends="perl-dev"
-install=""
 subpackages="$pkgname-doc"
 source="$pkgname-$pkgver.tar.gz::https://github.com/plk/biber/archive/v${pkgver}.tar.gz "
 builddir="$srcdir/$pkgname-$pkgver"
 
 prepare() {
     cd "$builddir"
-    perl Build.PL installdirs=vendor || return 1
+    perl Build.PL installdirs=vendor
 }
 
 build() {
@@ -36,12 +35,15 @@ build() {
     ./Build
 }
 
+check() {
+	cd "$builddir"
+    ./Build test
+}
+
 package() {
 	cd "$builddir"
-    ./Build install destdir="$pkgdir" || return 1
+    ./Build install destdir="$pkgdir"
     find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 }
 
-md5sums="4956fbf23546b6325647b6c81b2b4bea  biber-2.7.tar.gz"
-sha256sums="a0afc4cd97d56f4f433e476de1d4bd9bf9740eb29191bf616b1ea3f424408d9f  biber-2.7.tar.gz"
-sha512sums="a62c116d4278b177c9e05a1cac857358dd0ebc6283465e74bb557d13fa343843d8b84050a466b2308a309345309bd584ccd2e90ccbbefbd01f2203a8eea77609  biber-2.7.tar.gz"
+sha512sums="8b329a315e4471785551a350bc7b89344084797aa61f783868a64e4966d2624021820f3984d87b75e929e4bebfbd23a82844b4a52f4b323295c24f8e642ed39c  biber-2.8.tar.gz"
-- 
GitLab