[arch-commits] Commit in perl-app-cli/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 11:29:13 UTC 2021
Date: Monday, May 24, 2021 @ 11:29:12
Author: felixonmars
Revision: 944513
archrelease: copy trunk to community-staging-any
Added:
perl-app-cli/repos/community-staging-any/
perl-app-cli/repos/community-staging-any/PKGBUILD
(from rev 944512, perl-app-cli/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-app-cli/repos/community-staging-any/PKGBUILD (from rev 944512, perl-app-cli/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:29:12 UTC (rev 944513)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-app-cli
+pkgver=0.50
+pkgrel=4
+pkgdesc="Perl/CPAN Module App::CLI"
+arch=("any")
+url="https://search.cpan.org/dist/App-CLI"
+license=("GPL" "PerlArtistic")
+depends=("perl")
+source=("https://cpan.metacpan.org/authors/id/P/PT/PTC/App-CLI-$pkgver.tar.gz")
+sha256sums=('51d3f5833ab519fb46e5552b60e5455e4f9c1c6827d1eee4153d0b409f2a9345')
+
+build() {
+ cd "$srcdir"/App-CLI-$pkgver
+ PERL_USE_UNSAFE_INC=1 \
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/App-CLI-$pkgver
+ make pure_install doc_install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list