diff options
Diffstat (limited to 'abs')
-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 +} |