[arch-commits] Commit in perl-ppi/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 12:34:12 UTC 2020
Date: Sunday, June 21, 2020 @ 12:34:11
Author: felixonmars
Revision: 649275
archrelease: copy trunk to community-staging-any
Added:
perl-ppi/repos/community-staging-any/
perl-ppi/repos/community-staging-any/PKGBUILD
(from rev 649274, perl-ppi/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-ppi/repos/community-staging-any/PKGBUILD (from rev 649274, perl-ppi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 12:34:11 UTC (rev 649275)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-ppi
+pkgver=1.270
+pkgrel=2
+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=('d138db281c69fc8bbf53174df720e97633e7fd35bc77a24ceeb164277a69a5aff2629a66e7d898d62db270333c87f998eaac23a9eab7ede76dcfd43d2c546858')
+
+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