Skip to content
Snippets Groups Projects
Commit d09984b3 authored by Timothy Legge's avatar Timothy Legge Committed by alice
Browse files

community/perl-test-mock-one: new aport

parent 5dbb904d
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38253community/perl-net-saml2: upgrade to 0.59 and new depends
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-test-mock-one
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test-Mock-One
pkgver=0.011
pkgrel=0
pkgdesc="Mock the world with one object"
url="https://metacpan.org/release/Test-Mock-One/"
arch="noarch"
license="bsd"
depends="perl"
checkdepends="perl-test-deep perl-test-exception"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/W/WA/WATERKIP/Test-Mock-One-$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="
8948db737f9976e69cbbbbb374db5f0131f325e780a7ca32a860e89095a73ac2eafaefe87616b17b6793a708d451afe694153f69d05d420a391946871948a974 Test-Mock-One-0.011.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment