summaryrefslogtreecommitdiff
path: root/user/perl-test-run/APKBUILD
blob: 28450b3547793115d5b98ba60550d571a0dc6943 (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
_pkgreal=Test-Run
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0305
pkgrel=0
pkgdesc="Perl classes to run standard TAP scripts"
url="https://metacpan.org/release/Test-Run"
arch="noarch"
license="MIT"
depends="perl perl-ipc-system-simple perl-list-moreutils perl-moose
	perl-moosex-strictconstructor perl-test-trap perl-text-sprintf-named
	perl-universal-require"
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="56a39a9de335d1cbfa75da57e0bf9f7487814507954a3e6f5bbea76fa3b19a154402ced5e0539073d18e3264b5c9f0d816803f509ea79381d2f8488a67f67a46  Test-Run-0.0305.tar.gz"