#Packager: George Vlahavas pkgname=perl-IPC-Run pkgver=20220807.0 pkgrel=1gv source=("https://cpan.metacpan.org/authors/id/T/TO/TODDR/IPC-Run-$pkgver.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-IPC-Run (system() and background procs w/ piping, redirs, ptys)" "IPC::Run allows you to run and interact with child processes using" "files, pipes, and pseudo-ttys. Both system()-style and scripted usages" "are supported and may be mixed. Likewise, functional and OO API styles" "are both supported and may be mixed." ) build() { cd $startdir/src/IPC-Run-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }