diff options
Diffstat (limited to 'abs/core/perl_modules/perl-sub-uplevel/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-sub-uplevel/PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD index 4f3d53d..86409ac 100644 --- a/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD +++ b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD @@ -1,8 +1,10 @@ +# $Id: PKGBUILD 65925 2012-02-22 13:43:26Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-sub-uplevel pkgver=0.22 -pkgrel=1 +pkgrel=2 pkgdesc="apparently run a function in a higher stack frame " arch=('any') url="http://search.cpan.org/dist/Sub-Uplevel" @@ -13,10 +15,10 @@ source=(http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-$pkgver.tar.gz) md5sums=('c166738a97c0424a0075ebe205d285db') build() { - cd $startdir/src/Sub-Uplevel-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=$startdir/pkg || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + cd $srcdir/Sub-Uplevel-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } |