summaryrefslogtreecommitdiff
path: root/community/perl-class-data-inheritable/PKGBUILD
blob: 947ced19415ce23240caad6dfae3dc2b60a30a55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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=6
pkgdesc="Inheritable, overridable class data "
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Class-Data-Inheritable"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/T/TM/TMTM/Class-Data-Inheritable-$pkgver.tar.gz) 
md5sums=('fc0fe65926eb8fb932743559feb54eb9')

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
}