mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-business-isbn-data
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Business-ISBN-Data
|
|
pkgver=20230426.002
|
|
pkgrel=0
|
|
pkgdesc="data pack for Business::ISBN"
|
|
url="https://metacpan.org/release/Business-ISBN-Data/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
875acb616bca9fafcb009e1afe0c72603d798eced46ee95fdf56bb127961e24b74953c3e5cb4dcbbc992f123fe3c7a47359d421efc68d1f53607f786b62f4463 Business-ISBN-Data-20230426.002.tar.gz
|
|
"
|