summaryrefslogblamecommitdiff
path: root/system/perl-ipc-run3/APKBUILD
blob: ca9d1f546dd4862c13d9b38b3593d4005957bce1 (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                     



                               
            




                                                                       
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-ipc-run3
_pkgreal=IPC-Run3
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.049
pkgrel=0
pkgdesc="Run a subprocess from Perl with I/O redirection"
url="https://metacpan.org/release/IPC-Run3"
arch="noarch"
license="GPL-1.0+ OR BSD-2-Clause OR Artistic-1.0-Perl OR Artistic-2.0"
depends="perl"
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="19dbf902666ccb56bfdb02c0c4e9ef585d773e1b8b53d4627367a3c0344d08a6358a733786b8de97e615b6916b716c4e66e73ae263986a2cacf50ab155539c55  IPC-Run3-0.049.tar.gz"