aboutsummaryrefslogblamecommitdiffstats
path: root/community/perl-io-tee/APKBUILD
blob: e24b3b05efa46bd709badf5078c3eee19bd99c9f (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                           
           
                        
        
                                                     
                                      
             

                                               
                          

                                                                                                   

         




                                                                 
                 


           
                                      


                                                                           
                                                                                                                                                                      
# 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"
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"