[arch-commits] Commit in perl-app-cli/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 25 12:04:38 UTC 2019


    Date: Saturday, May 25, 2019 @ 12:04:38
  Author: felixonmars
Revision: 470598

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 470597, perl-app-cli/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: perl-app-cli/repos/community-staging-any/PKGBUILD (from rev 470597, perl-app-cli/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 12:04:38 UTC (rev 470598)
@@ -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=2
+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