# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-class-data-inheritable
pkgver=0.08
pkgrel=7
pkgdesc="Inheritable, overridable class data "
arch=('x86_64')
url="http://search.cpan.org/dist/Class-Data-Inheritable"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(https://www.cpan.org/authors/id/T/TM/TMTM/Class-Data-Inheritable-$pkgver.tar.gz) 
sha256sums=('9967feceea15227e442ec818723163eb6d73b8947e31f16ab806f6e2391af14a')

build() {
  cd  Class-Data-Inheritable-${pkgver}
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd  Class-Data-Inheritable-${pkgver}
  make install DESTDIR="$pkgdir"
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete
}