# Maintainer: Dale Blount # Contributor: Dale Blount # Modified by OpenPogo pkgname=perl-error _realname=Error pkgver=0.17015 pkgrel=1 pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way" url="http://search.cpan.org/dist/${_realname}/" arch=(arm) license=('PerlArtistic' 'GPL') depends=('perl>=5.10.0') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/${_realname}-${pkgver}.tar.gz) md5sums=('203bc410ae5040e7b647a52aa0fabafe') build() { cd ${startdir}/src/${_realname}-${pkgver} # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=${startdir}/pkg/opt || return 1 # remove perllocal.pod and .packlist find ${startdir}/pkg/opt -name perllocal.pod -delete find ${startdir}/pkg/opt -name .packlist -delete }