mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 17:06:46 +02:00
37 lines
1 KiB
Text
37 lines
1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-test-manifest
|
|
pkgver=2.026
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-Manifest
|
|
pkgdesc="interact with a t/test_manifest file"
|
|
url="https://metacpan.org/release/Test-Manifest/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/B/BR/BRIANDFOY/Test-Manifest-$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="
|
|
d60124903e7e9dd8c835f21a75481bd19b5678fdfe153a177ca0f815ded44abed682ba9403c4467ec880899fe8645ff8a879a97a42259e8718e6c66edb46f251 Test-Manifest-2.026.tar.gz
|
|
"
|