From 1a35aa78d8b4e8f814ce82b09577a2a940dfae04 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 30 May 2018 18:33:45 +0000 Subject: perl-sub-uplevel: update to 0.2800 --- abs/core/perl_modules/perl-sub-uplevel/PKGBUILD | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD index 86409ac..2613d09 100644 --- a/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD +++ b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 65925 2012-02-22 13:43:26Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin # Contributor: Francois Charette pkgname=perl-sub-uplevel -pkgver=0.22 +pkgver=0.2800 pkgrel=2 pkgdesc="apparently run a function in a higher stack frame " arch=('any') @@ -11,14 +11,18 @@ 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') +source=(https://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-$pkgver.tar.gz) +sha256sums=('b4f3f63b80f680a421332d8851ddbe5a8e72fcaa74d5d1d98f3c8cc4a3ece293') build() { - cd $srcdir/Sub-Uplevel-$pkgver + cd "$srcdir"/Sub-Uplevel-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +} + +package() { + cd "$srcdir"/Sub-Uplevel-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } -- cgit v0.12