blob: fd138b8905fd74248da67f0fec5978a98f197da1 (
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
|
#$Id:$
pkgname=perl-class-inspector
_realname=Class-Inspector
pkgver=1.24
pkgrel=1
pkgdesc="'Get information about a class and its structure'"
arch=(i686 x86_64)
license=('GPL' 'Artistic')
url="http://search.cpan.org/~adamk/Class-Inspector"
options=(!emptydirs)
depends=('perl>=5.10.0')
provides=('class-inspector=1.24' 'Class::Inspector=1.24' 'perl-class-inspector=1.24' 'Class::Inspector::Functions=1.24' 'perl-class-inspector-functions=1.24')
source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Inspector-1.24.tar.gz)
md5sums=('609189b49f64d329a6e413e0a6d8724a')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
make install DESTDIR=${pkgdir}
# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
}
# vim:set ts=2 sw=2 et:
|