[arch-commits] Commit in perl-ppi/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Apr 11 10:46:00 UTC 2019


    Date: Thursday, April 11, 2019 @ 10:46:00
  Author: felixonmars
Revision: 451073

archrelease: copy trunk to community-any

Added:
  perl-ppi/repos/community-any/
  perl-ppi/repos/community-any/PKGBUILD
    (from rev 451072, perl-ppi/trunk/PKGBUILD)

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

Copied: perl-ppi/repos/community-any/PKGBUILD (from rev 451072, perl-ppi/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-04-11 10:46:00 UTC (rev 451073)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-ppi
+pkgver=1.236
+pkgrel=1
+pkgdesc="Parse, Analyze and Manipulate Perl (without perl)"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/PPI"
+depends=('perl-clone' 'perl-io-string' 'perl-list-moreutils' 'perl-params-util' 'perl-task-weaken')
+makedepends=('perl-class-inspector' 'perl-file-remove' 'perl-test-deep' 'perl-test-object'
+             'perl-test-subcalls')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/M/MI/MITHALDU/PPI-$pkgver.tar.gz")
+sha512sums=('93a7f4059b12156bdcba77958c17841ab43d85cb0045d0c58d087d6e637e09e253a559cfe465d9d8699329098582759cb8381978c121b9661a9a755e919dece1')
+
+build() {
+  cd PPI-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd PPI-$pkgver
+  make test
+}
+
+package() {
+  cd PPI-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list