summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-class-load/PKGBUILD
blob: 25ef7049845d349aa82ed55e1c6c6565b9a26a2f (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
28
29
30
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-class-load
pkgver=0.24
pkgrel=2
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'
	 'perl-namespace-clean')
source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-$pkgver.tar.gz)
sha256sums=('0bb983da46c146534fc77a556d6e40d925142f2eb43103534025ee545265ca36')

build() {
  cd "${srcdir}/Class-Load-${pkgver}"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
#  make test
}

package() {
  cd "${srcdir}/Class-Load-${pkgver}"
  make install DESTDIR="$pkgdir"
  find "$pkgdir" -name perllocal.pod -delete
  find "$pkgdir" -name .packlist -delete
}