aboutsummaryrefslogtreecommitdiffstats
path: root/community/biber/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 15:30:47 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 15:30:47 +0000
commit2c4350a7195b18d893c80e80f8978b78c0ef910e (patch)
treeabe025b9247ed6294f7372387190aada88c76571 /community/biber/APKBUILD
parentc3b073d5e2e161b2653e4b4b146cdc550eb436e7 (diff)
downloadaports-2c4350a7195b18d893c80e80f8978b78c0ef910e.tar.bz2
aports-2c4350a7195b18d893c80e80f8978b78c0ef910e.tar.xz
community/biber: moved from testing
Diffstat (limited to 'community/biber/APKBUILD')
-rw-r--r--community/biber/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/biber/APKBUILD b/community/biber/APKBUILD
new file mode 100644
index 0000000000..a5e2881ff4
--- /dev/null
+++ b/community/biber/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=biber
+pkgver=2.5
+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"
+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 && ./Build test
+}
+
+package() {
+ cd "$builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="e07fa10c696b935f801004aceed55bcc biber-2.5.tar.gz"
+sha256sums="1be7e690845d2ee40cdf4a932cab3ca1fc09a4a8030021b7e53f4f3ec8687a98 biber-2.5.tar.gz"
+sha512sums="5b67aa221e690f17d33ab918e041e8a542e1fdfb9733d99eb41abc87ca9c10b193072e5aac5bc70c19c5f68df009b93be879a4cdfa51392ff63cf755adac90dc biber-2.5.tar.gz"