aboutsummaryrefslogtreecommitdiffstats
path: root/community/biber/APKBUILD
blob: fd31cec3607c43861faea830cec3119e1a440dbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=biber
pkgver=2.7
pkgrel=0
pkgdesc="Backend processor for BibLaTeX"
url="https://github.com/plk/biber"
arch="noarch"
license="GPL2"
depends="perl perl-module-build perl-config-autoconf 
	perl-extutils-libbuilder perl-test-differences perl-file-which 
	perl-class-accessor perl-data-compare perl-data-dump perl-data-uniqid 
	perl-ipc-run3 perl-xml-writer perl-xml-libxml perl-xml-libxslt 
	perl-lwp-protocol-https perl-log-log4perl perl-list-allutils perl-list-moreutils
	perl-mozilla-ca perl-regexp-common perl-file-slurp perl-encode-hanextra
	perl-date-simple perl-xml-libxml-simple perl-autovivification perl-unicode-normalize
	perl-unicode-linebreak perl-unicode-collate perl-text-roman perl-text-bibtex 
	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"
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
}

build() {
	cd "$builddir"
    export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
    ./Build
}

package() {
	cd "$builddir"
    ./Build install destdir="$pkgdir" || return 1
    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"