summaryrefslogtreecommitdiff
path: root/user/perl-task-freecellsolver-testing/APKBUILD
blob: b117aa654f7be322fda16950d368a6653c451215 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-task-freecellsolver-testing
_pkgreal=Task-FreecellSolver-Testing
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0.12
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 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-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	perl Build.PL installdirs=vendor
	./Build
}

check() {
	./Build test
}

package() {
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="8496e7b56851440bae0a0aba076e84014a8db8260356603b3b02252ecc1fa68b9b773e916c4330d7bc930f04923001bf14539f2efb43cedafa73a0213db6a6f7  Task-FreecellSolver-Testing-0.0.12.tar.gz"