# Description: Allows conversion between Roman and Arabic algarisms
# URL: https://metacpan.org/pod/Text::Roman
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:

name=p5-text-roman
version=3.5
release=1
source=(https://cpan.metacpan.org/authors/id/S/SY/SYP/Text-Roman-$version.tar.gz)

build() {
  cd Text-Roman-$version
  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
  perl Makefile.PL
  make
  make DESTDIR=$PKG INSTALLDIRS=vendor install
  find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
}
