1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
6 pkgdesc='Manage perl installations in your $HOME'
8 url="https://metacpan.org/release/App-perlbrew"
10 depends=('perl' 'perl-capture-tiny' 'perl-cpan-perl-releases' 'perl-devel-patchperl'
11 'perl-file-path-tiny' 'perl-local-lib')
12 makedepends=('perl-module-build-tiny')
13 checkdepends=('perl-test-exception' 'perl-test-output' 'perl-test-spec'
14 'perl-path-class' 'perl-io-all')
15 options=('!emptydirs')
16 source=("https://search.cpan.org/CPAN/authors/id/G/GU/GUGOD/App-perlbrew-$pkgver.tar.gz")
17 sha1sums=('b2d09c6bfa2cb2b9275fcae15286d2bb1d98cbc7')
18 sha256sums=('f5dbfad96f5a930b05d52cdc4155d9c0ce854c9fadc24696b661abba2289279a')
21 cd App-perlbrew-$pkgver
22 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
23 export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
29 cd App-perlbrew-$pkgver
30 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
31 ./Build install --installdirs=vendor --destdir="$pkgdir"
32 install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/perlbrew/LICENSE