# Template file for 'perl-Term-ReadLine-Gnu' pkgname=perl-Term-ReadLine-Gnu version=1.35 revision=6 wrksrc="${pkgname/perl-/}-${version}" build_style=perl-module hostmakedepends="perl ncurses-devel readline-devel" makedepends="${hostmakedepends}" short_desc="Perl extension for the GNU readline/history library" maintainer="Alessio Sergi " homepage="https://metacpan.org/release/Term-ReadLine-Gnu" license="Artistic-1.0-Perl, GPL-1.0-or-later" distfiles="${CPAN_SITE}/Term/${pkgname/perl-/}-${version}.tar.gz" checksum=575d32d4ab67cd656f314e8d0ee3d45d2491078f3b2421e520c4273e92eb9125 post_extract() { sed -i '/if.*guess_malloc_names/s/.*/if(my $extra_defs=""){/' Makefile.PL }