[arch-commits] Commit in perl-error/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 10:43:08 UTC 2020
Date: Sunday, June 21, 2020 @ 10:43:07
Author: felixonmars
Revision: 389753
archrelease: copy trunk to staging-any
Added:
perl-error/repos/staging-any/
perl-error/repos/staging-any/PKGBUILD
(from rev 389751, perl-error/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-error/repos/staging-any/PKGBUILD (from rev 389751, perl-error/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2020-06-21 10:43:07 UTC (rev 389753)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-error
+pkgver=0.17029
+pkgrel=2
+pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way"
+url="https://search.cpan.org/dist/Error/"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-${pkgver}.tar.gz)
+sha512sums=('266ba1feff897c1d162e69a83e595cb40da9a6e1d8b10cc5531626eff392c6da94be03ba722c74827fc2ea0d9d1c1e62e824d9021e098b700db65dd0b3acbd0a')
+
+build() {
+ cd Error-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd Error-${pkgver}
+ make test
+}
+
+package() {
+ cd Error-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
+
More information about the arch-commits
mailing list