23 lines
732 B
Bash
23 lines
732 B
Bash
# Template file for 'perl-Term-ReadLine-Gnu'
|
|
pkgname=perl-Term-ReadLine-Gnu
|
|
version=1.36
|
|
revision=2
|
|
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=9a08f7a4013c9b865541c10dbba1210779eb9128b961250b746d26702bab6925
|
|
|
|
post_extract() {
|
|
vsed -i '/if.*guess_malloc_names/s/.*/if(my $extra_defs=""){/' Makefile.PL
|
|
}
|
|
|
|
pre_check() {
|
|
export TERM=linux
|
|
}
|