From 29d5baf12551c031fcd5ddd426bb27698ce634a4 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 6 Aug 2011 14:37:44 -0500 Subject: perl-sub-uplevel: Initial Inclusion. dep of perl-test-exception; refs #383 --- abs/core/perl_modules/perl-sub-uplevel/PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 abs/core/perl_modules/perl-sub-uplevel/PKGBUILD diff --git a/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD new file mode 100644 index 0000000..4f3d53d --- /dev/null +++ b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: Francois Charette + +pkgname=perl-sub-uplevel +pkgver=0.22 +pkgrel=1 +pkgdesc="apparently run a function in a higher stack frame " +arch=('any') +url="http://search.cpan.org/dist/Sub-Uplevel" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +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 +} -- cgit v0.12