diff options
-rw-r--r-- | user/perl-task-freecellsolver-testing/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/perl-task-freecellsolver-testing/APKBUILD b/user/perl-task-freecellsolver-testing/APKBUILD new file mode 100644 index 000000000..c31fc7b7d --- /dev/null +++ b/user/perl-task-freecellsolver-testing/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-task-freecellsolver-testing +pkgver=0.0.11 +pkgrel=0 +pkgdesc="Perl module for testing the Freecell Solver package" +url="https://metacpan.org/release/Task-FreecellSolver-Testing" +arch="noarch" +license="MIT" +depends="perl-code-tidyall perl-env-path perl-file-which + perl-games-solitaire-verify perl-inline perl-inline-c + perl-list-moreutils perl-moo perl-moox perl-moox-late perl-path-tiny + perl-string-shellquote perl-task-test-run-allplugins + perl-template-toolkit perl-test-data-split perl-test-differences + perl-test-perltidy perl-test-runvalgrind perl-test-trailingspace" +makedepends="perl-dev perl-module-build" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Task-FreecellSolver-Testing-v$pkgver.tar.gz" +builddir="$srcdir/Task-FreecellSolver-Testing-v$pkgver" + +build() { + cd "$builddir" + perl Build.PL installdirs=vendor + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="85c3d7e68e0fa14abac2442ec7b6e90cc4df9f6733fbd87e5a872043a03a71d8cd3a262c816d861a1c729646ff379665c1d5d6e0bc80ae476db089d9d3793b82 Task-FreecellSolver-Testing-v0.0.11.tar.gz" |