# Description: I/O on in-core objects like strings and arrays # URL: https://github.com/genio/IO-Stringy # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: perl name=p5-io-stringy version=2.113 release=1 source=(http://search.cpan.org/CPAN/authors/id/C/CA/CAPOEIRAB/IO-Stringy-${version}.tar.gz) build() { cd IO-Stringy-$version # PERL_MM_USE_DEFAULT=1 \ perl Makefile.PL make OPTIMIZE="$CFLAGS" DESTDIR="$PKG" install find "$PKG" -depth \ -type f \( -name .packlist -o -name \*.bs -o -name perllocal.pod \) -delete , \ -type f -name autosplit.ix \( -exec grep -q '^[[:space:]]*package' {} \; -o -delete \) , \ -type d -empty -exec rmdir {} + }