diff options
author | Britney Fransen <brfransen@gmail.com> | 2011-08-06 19:37:44 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2011-08-06 19:37:44 (GMT) |
commit | 29d5baf12551c031fcd5ddd426bb27698ce634a4 (patch) | |
tree | 3e63b964580205fe7e4dda6fa1e85d32945df744 | |
parent | 5e3fdf55324cfc3834dbf4a91f7e0192e0d748b2 (diff) | |
download | linhes_pkgbuild-29d5baf12551c031fcd5ddd426bb27698ce634a4.zip linhes_pkgbuild-29d5baf12551c031fcd5ddd426bb27698ce634a4.tar.gz linhes_pkgbuild-29d5baf12551c031fcd5ddd426bb27698ce634a4.tar.bz2 |
perl-sub-uplevel: Initial Inclusion. dep of perl-test-exception; refs #383
-rw-r--r-- | abs/core/perl_modules/perl-sub-uplevel/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
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 <firmicus@gmx.net> + +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 +} |