[arch-commits] Commit in perl-error/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat Aug 26 12:41:14 UTC 2017
Date: Saturday, August 26, 2017 @ 12:41:13
Author: foutrelis
Revision: 303898
archrelease: copy trunk to staging-any
Added:
perl-error/repos/staging-any/
perl-error/repos/staging-any/PKGBUILD
(from rev 303897, perl-error/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-error/repos/staging-any/PKGBUILD (from rev 303897, perl-error/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2017-08-26 12:41:13 UTC (rev 303898)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-error
+pkgver=0.17025
+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=('0cb77d8be2f759aaf8970f9d5fa5483ba5ba687c115f6bbeaa22afb1b5c50fe6f70b4dce19a3c8d1bf6e9bfad0af86f2e03faac493f428b04962e5337be3ae2b')
+
+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