summaryrefslogtreecommitdiff
path: root/user/perl-test-run-plugin-ai/APKBUILD
blob: 3537a1197674ff036a97b4aa81aecace390b9ca4 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-run-plugin-alternateinterpreters
pkgver=0.0124
pkgrel=0
pkgdesc="Define different interpreters for test scripts with Perl Test::Run"
url="https://metacpan.org/release/Test-Run-Plugin-AlternateInterpreters"
arch="noarch"
license="MIT"
depends="perl-moose perl-mro-compat perl-test-run perl-test-run-cmdline"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Run-Plugin-AlternateInterpreters-$pkgver.tar.gz"
builddir="$srcdir/Test-Run-Plugin-AlternateInterpreters-$pkgver"

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="54649bde2b97eb7dfeef5392a63787e4ce10c37474acf27f35ab7b466a05564f98be82d99690963b3249c1585ab986e25ac2cf2be72c13b460d467d90b4de719  Test-Run-Plugin-AlternateInterpreters-0.0124.tar.gz"