1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
2 # Contributor: Piotr Rogoza <piotr.r.public at gmail dot com>
3 # Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com>
10 pkgdesc="Sort::Key - the fastest way to sort anything in Perl"
12 url=https://search.cpan.org/dist/Sort-Key
13 license=('GPL' 'PerlArtistic')
16 source=("https://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz")
17 sha256sums=('ed6a4ccfab094c9cd164f564024e98bd21d94f4312ccac4d6246d22b34081acf')
20 cd "${srcdir}/${_perlmod}-${pkgver}"
22 # install module in vendor directories.
23 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
28 cd "${srcdir}/${_perlmod}-${pkgver}"
29 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
30 export PERL_MM_USE_DEFAULT=1
35 cd "${srcdir}/${_perlmod}-${pkgver}"
36 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
37 make install INSTALLDIRS=vendor DESTDIR="$pkgdir"