1 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
2 # Contributor: François Charette <firmicus ατ gmx δοτ net>
4 pkgname=perl-class-errorhandler
7 pkgdesc="Base class for error handling"
9 url="http://search.cpan.org/~BTROTT/Class-ErrorHandler"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl>=5.10.0')
12 options=('!emptydirs')
13 source=(http://www.cpan.org/authors/id/B/BT/BTROTT/Class-ErrorHandler-$pkgver.tar.gz)
14 md5sums=('6a07ad34dfcdf510677f92e47643976d')
17 cd $startdir/src/Class-ErrorHandler-$pkgver
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make install DESTDIR=$startdir/pkg || return 1
21 find $startdir/pkg -name '.packlist' -delete
22 find $startdir/pkg -name '*.pod' -delete