From 9eae6cb6bf3ce37a2a711dfe9625e5ebf0df2a77 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 1 May 2015 07:25:13 -0300 Subject: perl-text-glob: fix syntax --- pcr/perl-text-glob/PKGBUILD | 8 ++++---- 1 file 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 } -- cgit v1.2.3-54-g00ecf