PKGBUILDs/community/perl-sub-uplevel/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
714 B
Bash

# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-sub-uplevel
pkgver=0.21_01
pkgrel=1
pkgdesc="apparently run a function in a higher stack frame "
arch=('i686' 'x86_64')
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)
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
}
md5sums=('6c0243f1ec3f44a581fd9b5bbf7a8bb0')