# Maintainer: Sergej Pupykin # Maintainer: Jakob Nixdorf pkgname=perl-io-pipely pkgver=0.006 pkgrel=1 pkgdesc="Portably create pipe() or pipe-like handles, one way or another." depends=('perl>=5.10.0') license=('GPL' 'PerlArtistic') url="https://search.cpan.org/dist/IO-Pipely/" options=('!emptydirs') arch=(any) source=(https://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/IO-Pipely-${pkgver}.tar.gz) sha256sums=('0e3fcd841a327efb549fa01b2083dc3695e72ea0c63303e56ed5161bf810413b') build() { cd "$srcdir"/IO-Pipely-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$srcdir"/IO-Pipely-$pkgver make DESTDIR="$pkgdir" install # Remove .packlist and perllocal.pod files. find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name 'perllocal.pod' -delete }