summaryrefslogblamecommitdiff
path: root/user/perl-task-freecellsolver-testing/APKBUILD
blob: c31fc7b7d55c5bc221a16ebeef9a34a416b3a8e9 (plain) (tree)





































                                                                                                                                                                                         
# 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"