aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-test-inter/APKBUILD
blob: 1da20e88f55092ba3220095d292c40c4044ac936 (plain)
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
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-inter
_pkgreal=Test-Inter
pkgver=1.09
pkgrel=1
pkgdesc="framework for more readable interactive test scripts"
url="https://metacpan.org/release/Test-Inter/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
makedepends="perl-dev perl-module-build"
checkdepends="perl-test-pod perl-test-pod-coverage perl-file-find-rule"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SB/SBECK/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

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

build() {
	cd "$builddir"
	make
}

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

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

sha512sums="b1f556393a445ae2c04fcc958fc3c9ee9091d17aaa9997dfde13098622162ebc27ac0282401abc27131a3b072be3aafeb5cc74af4b3e1ff4149f6c77536ef6c4  Test-Inter-1.09.tar.gz"