summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 18:33:45 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 18:33:45 (GMT)
commit1a35aa78d8b4e8f814ce82b09577a2a940dfae04 (patch)
tree2b18380eeedc7a4fd24ad1be92e762c95909ad48 /abs/core/perl_modules
parent63dcfff5cc1e1699defc88edede6171db303969c (diff)
downloadlinhes_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/PKGBUILD20
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
}