diff options
Diffstat (limited to 'pcr/perl-text-glob')
-rw-r--r-- | pcr/perl-text-glob/PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pcr/perl-text-glob/PKGBUILD b/pcr/perl-text-glob/PKGBUILD index c9b20d67c..02d9ccc6d 100644 --- a/pcr/perl-text-glob/PKGBUILD +++ b/pcr/perl-text-glob/PKGBUILD @@ -17,7 +17,7 @@ url='http://search.cpan.org/dist/Text-Glob' source=("http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/Text-Glob-$pkgver.tar.gz") md5sums=('1daa10e087f891c49b720a5c551a024b') sha512sums=('9b729e4ece88ad79e1b637c7f35e5e1ecae3fd7f62c408ed4f3fcac2e8e8afff32d7d805e1b0269800aada5ae609d03335d42ac54def2797d301e91fa488ae47') -_distdir="${srcdir}/Text-Glob-$pkgver" +_distdir="Text-Glob-$pkgver" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ @@ -26,21 +26,21 @@ build() { PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null - cd "$_distdir" + cd $srcdir/"$_distdir" /usr/bin/perl Build.PL /usr/bin/perl Build ) } check() { - cd "$_distdir" + cd $srcdir/"$_distdir" ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" /usr/bin/perl Build test ) } package() { - cd "$_distdir" + cd $srcdir/"$_distdir" /usr/bin/perl Build install find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } |