summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD
blob: 4f3d53d14a98605d6d6218a868317e05d600c642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}