1 # Maintainer: Jonathan Steel <jsteel@aur.archlinux.org>
2 # Contributor: Justin Davis <jrcd83@gmail.com>
4 pkgname=perl-sub-exporter
7 pkgdesc="A sophisticated exporter for custom-built routines"
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl' 'perl-data-optlist' 'perl-params-util' 'perl-sub-install')
12 url="https://metacpan.org/release/Sub-Exporter"
13 source=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-$pkgver.tar.gz)
14 sha512sums=('7c491349bc9704604a268b45eed17db30c49f43f3c67f088d132d7f35c20eb1ddec46eca88b1e966fb48cf9580cb7007cc240f6d3ac9ba21cffbc7437b7dccbb')
17 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
18 PERL_AUTOINSTALL="--skipdeps" \
19 PERL_MM_OPT="INSTALLDIRS=vendor" \
20 PERL_MB_OPT="--installdirs vendor" \
21 MODULEBUILDRC=/dev/null
23 cd "$srcdir"/Sub-Exporter-$pkgver
25 /usr/bin/perl Makefile.PL
31 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
33 cd "$srcdir"/Sub-Exporter-$pkgver
40 cd "$srcdir"/Sub-Exporter-$pkgver
42 make DESTDIR="$pkgdir"/ install