[arch-commits] Commit in perl-sub-uplevel/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 13:36:56 UTC 2020
Date: Tuesday, July 7, 2020 @ 13:36:55
Author: felixonmars
Revision: 658535
archrelease: copy trunk to community-staging-any
Added:
perl-sub-uplevel/repos/community-staging-any/
perl-sub-uplevel/repos/community-staging-any/PKGBUILD
(from rev 658534, perl-sub-uplevel/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-sub-uplevel/repos/community-staging-any/PKGBUILD (from rev 658534, perl-sub-uplevel/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 13:36:55 UTC (rev 658535)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+pkgname=perl-sub-uplevel
+pkgver=0.2800
+pkgrel=4
+pkgdesc="apparently run a function in a higher stack frame "
+arch=('any')
+url="https://search.cpan.org/dist/Sub-Uplevel"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-$pkgver.tar.gz)
+sha256sums=('b4f3f63b80f680a421332d8851ddbe5a8e72fcaa74d5d1d98f3c8cc4a3ece293')
+
+build() {
+ cd "$srcdir"/Sub-Uplevel-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Sub-Uplevel-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list