mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=perl-specio
|
|
pkgver=0.50
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Specio
|
|
pkgdesc="Type constraints and coercions for Perl"
|
|
url="https://metacpan.org/release/Specio/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="
|
|
perl perl-sub-quote perl-devel-stacktrace perl-role-tiny perl-mro-compat perl-try-tiny
|
|
perl-test-fatal perl-eval-closure perl-module-runtime perl-clone
|
|
"
|
|
checkdepends="perl-test-needs"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Specio-$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 \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
c42edad7ae8a7d9585b72c254b163eef7a7d05d22aebe14f98cda9c8773549128123c7b0a11a130ebf8f5437e0b8f42c6dc8a7f80c10b382a7d32bc8cc0c5a9e Specio-0.50.tar.gz
|
|
"
|