23 lines
732 B
Bash
23 lines
732 B
Bash
# Template file for 'perl-Term-ReadLine-Gnu'
|
|
pkgname=perl-Term-ReadLine-Gnu
|
|
version=1.40
|
|
revision=1
|
|
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 <al3hex@gmail.com>"
|
|
license="Artistic-1.0-Perl, GPL-1.0-or-later"
|
|
homepage="https://metacpan.org/release/Term-ReadLine-Gnu"
|
|
distfiles="${CPAN_SITE}/Term/${pkgname/perl-/}-${version}.tar.gz"
|
|
checksum=d3a6169aeb1f04f9f05853a4f1c3b26dd265f6f00b790024959cb8f395842774
|
|
|
|
post_extract() {
|
|
vsed -i '/if.*guess_malloc_names/s/.*/if(my $extra_defs=""){/' Makefile.PL
|
|
}
|
|
|
|
pre_check() {
|
|
export TERM=linux
|
|
}
|