[arch-commits] Commit in perl-error/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 10:22:08 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:22:07
  Author: felixonmars
Revision: 446768

archrelease: copy trunk to staging-any

Added:
  perl-error/repos/staging-any/
  perl-error/repos/staging-any/PKGBUILD
    (from rev 446767, perl-error/trunk/PKGBUILD)

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

Copied: perl-error/repos/staging-any/PKGBUILD (from rev 446767, perl-error/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 10:22:07 UTC (rev 446768)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-error
+pkgver=0.17029
+pkgrel=4
+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