summaryrefslogtreecommitdiffstats
path: root/abs/core/perl-class-data-inheritable/PKGBUILD
blob: 98bc4dce7dabf259a53c70ae601807403c9bea1d (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=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
}