summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/perl-expect/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/pcr/perl-expect/PKGBUILD b/pcr/perl-expect/PKGBUILD
index 9b238e3c0..62c22a8a1 100644
--- a/pcr/perl-expect/PKGBUILD
+++ b/pcr/perl-expect/PKGBUILD
@@ -16,7 +16,7 @@ makedepends=()
url='http://search.cpan.org/dist/Expect'
source=("http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Expect-$pkgver.tar.gz")
md5sums=('f71527a34d57f601d5047ad9aa98e4e4')
-_distdir="${srcdir}/Expect-$pkgver"
+_distdir="Expect-$pkgver"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
@@ -25,21 +25,21 @@ build() {
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
- cd "$_distdir"
+ cd $srcdir/"$_distdir"
/usr/bin/perl Makefile.PL
make
)
}
check() {
- cd "$_distdir"
+ cd $srcdir/"$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
}
package() {
- cd "$_distdir"
+ cd $srcdir/"$_distdir"
make install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}