diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:33:45 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:33:45 (GMT) |
commit | 1a35aa78d8b4e8f814ce82b09577a2a940dfae04 (patch) | |
tree | 2b18380eeedc7a4fd24ad1be92e762c95909ad48 /abs/core/perl_modules | |
parent | 63dcfff5cc1e1699defc88edede6171db303969c (diff) | |
download | linhes_pkgbuild-1a35aa78d8b4e8f814ce82b09577a2a940dfae04.zip linhes_pkgbuild-1a35aa78d8b4e8f814ce82b09577a2a940dfae04.tar.gz linhes_pkgbuild-1a35aa78d8b4e8f814ce82b09577a2a940dfae04.tar.bz2 |
perl-sub-uplevel: update to 0.2800
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r-- | abs/core/perl_modules/perl-sub-uplevel/PKGBUILD | 20 |
1 files 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 <pupykin.s+arch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> 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 } |