blob: c6f39ec831d6d4f64436e024b5dc13ef3802c438 (
plain)
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
|
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-business-issn
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Business-ISSN
pkgver=1.004
pkgrel=1
pkgdesc="Perl extension for International Standard Serial Numbers"
url="https://metacpan.org/release/Business-ISSN/"
arch="noarch"
license="Artistic-2.0"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISSN-$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="5f6223c3f42b483fdcce832f21276a20df1e809f933823caa5115d339eb4e37565d2ec63f3a5bed76a02580cfe81127f150fac5ff323410273d9127b22ad4a5e Business-ISSN-1.004.tar.gz"
|