aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-inter/APKBUILD
blob: d71ab9cb20c1007570c86f99aca0e918fc692d8b (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
40
41
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-inter
_pkgreal=Test-Inter
pkgver=1.07
pkgrel=0
pkgdesc="framework for more readable interactive test scripts"
url="http://search.cpan.org/dist/Test-Inter/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/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 || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="8897dd10a625941ac0c6dd6a177642c527d402de3f4446de6cf4bb5115d25191c9725bb6ac3ea4db5bba9ac44c451802dfb23e0bdc4a4e605087a79da66e9aae  Test-Inter-1.07.tar.gz"