pkgname=perl-error pkgver=0.17029 pkgrel=1 pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way" arch=('x86_64') url="https://search.cpan.org/dist/Error/" license=('Artistic-1.0-Perl') depends=('perl') options=('!emptydirs') source=(https://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-${pkgver}.tar.gz) sha256sums=(1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc) build() { cd Error-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } package() { cd Error-${pkgver} make DESTDIR=${pkgdir} install }