archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-error / trunk / PKGBUILD
blob7142e1595d2feec185571b26240ba5b969e5083c
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-error
4 pkgver=0.17029
5 pkgrel=4
6 pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way"
7 url="https://search.cpan.org/dist/Error/"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 depends=('perl')
11 checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
12 options=('!emptydirs')
13 source=(https://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-${pkgver}.tar.gz)
14 sha512sums=('266ba1feff897c1d162e69a83e595cb40da9a6e1d8b10cc5531626eff392c6da94be03ba722c74827fc2ea0d9d1c1e62e824d9021e098b700db65dd0b3acbd0a')
16 build() {
17   cd Error-${pkgver}
18   perl Makefile.PL INSTALLDIRS=vendor
19   make 
22 check() {
23   cd Error-${pkgver}
24   make test
27 package() {
28   cd Error-${pkgver}
29   make DESTDIR="${pkgdir}" install