summaryrefslogtreecommitdiff
path: root/user/perl-test-run-cmdline/APKBUILD
blob: 0c731d775c6790a5bb3c53bed864cbafa51fcf75 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-run-cmdline
_pkgreal=Test-Run-CmdLine
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0132
pkgrel=0
pkgdesc="Analyse tests from the command line using Perl Test::Run"
url="https://metacpan.org/release/Test-Run-CmdLine"
arch="noarch"
license="MIT"
depends="perl perl-moose perl-moosex-getopt perl-test-run
	perl-universal-require perl-yaml-libyaml"
checkdepends="perl-test-trap"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

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

sha512sums="0be116c0ffcb61bc5bef6ad2e5e7fbffab337f5942a9903ff46cb219dd566dd720c9107a2358f956c1cc444b03cc9376704e2a0ec80f10364d289c8c629b7f67  Test-Run-CmdLine-0.0132.tar.gz"