[arch-commits] Commit in perl-error/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 09:27:19 UTC 2019
Date: Saturday, May 25, 2019 @ 09:27:18
Author: foutrelis
Revision: 354102
archrelease: copy trunk to staging-any
Added:
perl-error/repos/staging-any/
perl-error/repos/staging-any/PKGBUILD
(from rev 354101, perl-error/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-error/repos/staging-any/PKGBUILD (from rev 354101, perl-error/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-05-25 09:27:18 UTC (rev 354102)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-error
+pkgver=0.17027
+pkgrel=2
+pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way"
+url="http://search.cpan.org/dist/Error/"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-${pkgver}.tar.gz)
+sha512sums=('f7a649254bd2a5228a0baaa7bb286872dcbcf373134446176ff63a5ec0159e7472e0ea930aaff78f7f7961f797ae0a8e5c8725bdc06d2bab177ce469a4ede4b9')
+
+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