# Description: Sort::Key - the fastest way to sort anything in Perl
# URL: https://metacpan.org/pod/Sort::Key
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:

name=p5-sort-key
version=1.33
release=1
source=(https://cpan.metacpan.org/authors/id/S/SA/SALVA/Sort-Key-$version.tar.gz)

build() {
  cd Sort-Key-$version
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install INSTALLDIRS=vendor DESTDIR=$PKG
  find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
}
