summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-class-load/PKGBUILD
blob: 1fc20c41f55bec912eed79775bb29e8ce7e31ad9 (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
# $Id: PKGBUILD 73839 2012-07-16 05:39:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-class-load
pkgver=0.20
pkgrel=1
pkgdesc="a working (require 'Class::Name') and more"
arch=('any')
license=('PerlArtistic' 'GPL')
url="http://search.cpan.org/dist/Class-Load"
options=(!emptydirs)
depends=('perl' 'perl-module-runtime' 'perl-data-optlist' 'perl-package-stash>=0.32'
	 'perl-try-tiny' 'perl-test-fatal' 'perl-module-implementation')
source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-$pkgver.tar.gz)
md5sums=('9ccb131338a6cf1318599c08c095cf72')

build() {
  cd "${srcdir}/Class-Load-${pkgver}"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
#  make test
  make install DESTDIR=${pkgdir}
  find ${pkgdir} -name perllocal.pod -delete
  find ${pkgdir} -name .packlist -delete
}