diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 04:56:19 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 04:56:19 -0500 |
commit | 4af80658258b3d9602af50789b9879b0974ea43a (patch) | |
tree | 2f8c62a7c714cc61e7a0e1bab502c44e3ec28d56 /system/perl-test-fatal/APKBUILD | |
parent | c54f82fa2b24b8aa6321c94d9f3fadb1f46cac70 (diff) | |
download | packages-4af80658258b3d9602af50789b9879b0974ea43a.tar.gz packages-4af80658258b3d9602af50789b9879b0974ea43a.tar.bz2 packages-4af80658258b3d9602af50789b9879b0974ea43a.tar.xz packages-4af80658258b3d9602af50789b9879b0974ea43a.zip |
system/perl-test-fatal: add for lwp
Diffstat (limited to 'system/perl-test-fatal/APKBUILD')
-rw-r--r-- | system/perl-test-fatal/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/system/perl-test-fatal/APKBUILD b/system/perl-test-fatal/APKBUILD new file mode 100644 index 000000000..3cb20afdd --- /dev/null +++ b/system/perl-test-fatal/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-fatal +_pkgreal=Test-Fatal +pkgver=0.014 +pkgrel=1 +pkgdesc="incredibly simple helpers for testing code with exceptions" +url="http://search.cpan.org/dist/Test-Fatal/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpandepends="perl-try-tiny" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="339d9b33231f8c8d93c0f9374a51458d004568a2f3e28471976e954c35d27efd348f68fb56e3cabd11dc47d37e7ce46282eba967c156ba5081811d221c6a7523 Test-Fatal-0.014.tar.gz" |