summaryrefslogtreecommitdiff
path: root/user/perl-test-most/APKBUILD
blob: 78decf35c788d40161b869e3434687693bdb3e4b (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-most
_pkgreal=Test-Most
_author=OVID
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.38
pkgrel=0
pkgdesc="Most commonly needed Perl test functions and features"
url="https://metacpan.org/release/Test-Most"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-exception-class perl-test-deep perl-test-differences
	perl-test-exception perl-test-warn"
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="cb91e8a1cb61d5ad8d222f077fe2681a68d9b1806263d37989446d42baf911e3b6789cd1fd28fdfb7e4de17ee7766545d5c07356e53e56c5fb6d7c2af9d5d448  Test-Most-0.38.tar.gz"