summaryrefslogtreecommitdiff
path: root/pcr/perl-expect
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 07:47:42 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 07:48:22 -0300
commit55cbd3ebf914105d3b1b92e2e8b668db9c0201a0 (patch)
tree525b6e807b5dd10d641e2af4834febe710fdf453 /pcr/perl-expect
parent1ed3296ae2e559ff653392e44d844fba8e63300e (diff)
perl-expect: fix syntax
Diffstat (limited to 'pcr/perl-expect')
-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
}