aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-io-tee/APKBUILD
blob: 2e931050694be7806cd7bc82d123b4e040d073f3 (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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-io-tee
pkgver=0.66
_realname=IO-Tee-$pkgver
pkgrel=1
pkgdesc="Multiplex output to multiple output handles"
url="https://metacpan.org/pod/IO::Tee"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://cpan.metacpan.org/authors/id/N/NE/NEILB/$_realname.tar.gz"
builddir="$srcdir"/$_realname

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="0f651b043e8a503e5b5933fabbdc00df139bb16b5f4e3f8e135123c53ede78abd2d3df9e824c85e1443f883fc1026fb6ff97a8c511d46076630b890253567c75  perl-io-tee-0.66.tar.gz"