mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 11:45:36 +02:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-text-bibtex
|
|
pkgver=0.91
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Text-BibTeX
|
|
pkgdesc="interface to read and parse BibTeX files"
|
|
url="https://metacpan.org/release/Text-BibTeX/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
makedepends="perl-dev perl-module-build perl-config-autoconf perl-extutils-libbuilder perl-capture-tiny"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/A/AM/AMBS/Text-BibTeX-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL \
|
|
--installdirs=vendor \
|
|
--create_packlist=0
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
7b2f010630b3fc51e9256d52349b16e99c560154216c0f76402d382ad80317296edf74b4b3013df6f2ac941afac199f346bdd2a05236df41e440ec87cf3d07f0 Text-BibTeX-0.91.tar.gz
|
|
"
|