diff options
-rw-r--r-- | user/perl-task-test-run-allplugins/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/perl-task-test-run-allplugins/APKBUILD b/user/perl-task-test-run-allplugins/APKBUILD new file mode 100644 index 000000000..1afce955b --- /dev/null +++ b/user/perl-task-test-run-allplugins/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=perl-task-test-run-allplugins +pkgver=0.0105 +pkgrel=0 +pkgdesc="Install all the Test::Run plugins" +url="https://metacpan.org/release/Task-Test-Run-AllPlugins" +arch="noarch" +license="MIT" +depends="perl-test-run perl-test-run-cmdline + perl-test-run-plugin-alternateinterpreters + perl-test-run-plugin-breakonfailure + perl-test-run-plugin-colourfileverdicts + perl-test-run-plugin-coloursummary + perl-test-run-plugin-trimdisplayedfilenames" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Task-Test-Run-AllPlugins-$pkgver.tar.gz" +builddir="$srcdir/Task-Test-Run-AllPlugins-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="5d2baa82658a3a80b07fd22d1ca2ccf7a1ff528685f8044fe5b152130957465d4bd1b032a2a02c966e7739d3b947b709bffabf96d74b77fe6c65479f6f09f964 Task-Test-Run-AllPlugins-0.0105.tar.gz" |