summaryrefslogtreecommitdiff
path: root/user/perl-test-script/APKBUILD
blob: 4ab8c3b4f3f0c7e3556c4901325b526e64fa3802 (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-script
_pkgreal=Test-Script
_author=PLICEASE
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.29
pkgrel=0
pkgdesc="Perl module for cross-platform script testing"
url="https://metacpan.org/pod/Test::Script"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-capture-tiny perl-probe-perl perl-test2-suite"
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="979fade0abc83f8d7d4c1c094fa928e27bd7c9db52140b156689d3b192d9ea84f5824554d6788c9144cf2923a04b1d8a8bdfdcc05a0be5514de92353c9a7d10f  Test-Script-1.29.tar.gz"