Commit 7519612f authored by Francesco Colista's avatar Francesco Colista

community/biber: re-enabled test, minor APKBUILD changed according with the linter

parent 3e7ede6b
......@@ -3,7 +3,7 @@
pkgname=biber
# This version should be compatible with Biblatex in testing
pkgver=2.14
pkgrel=1
pkgrel=2
pkgdesc="Backend processor for BibLaTeX"
url="https://github.com/plk/biber"
arch="noarch"
......@@ -21,16 +21,13 @@ depends="perl perl-module-build perl-config-autoconf
perl-datetime-calendar-julian perl-datetime-format-builder perl-sort-key
perl-text-csv perl-text-csv_xs perl-list-moreutils-xs perl-perlio-utf8_strict perl-file-slurper
perl-parse-recdescent perl-io-string perl-mime-charset perl-namespace-autoclean"
options="!check" # some of the test fails
checkdepends="perl-test-simple"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/plk/biber/archive/v${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
source="$pkgname-$pkgver.tar.gz::https://github.com/plk/biber/archive/v$pkgver.tar.gz"
prepare() {
default_prepare
cd "$builddir"
# Disable long year tests on 32 bit
case "$CARCH" in arm*|mips|mipsel*|x86)
sed -i '/17000002/ s+.*+eq_or_diff("dummy", "dummy", "skip 32 bit");+' t/dateformats.t
......@@ -51,18 +48,15 @@ prepare() {
}
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
#check() {
# cd "$builddir"
# ./Build test
#}
check() {
./Build test
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment