updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / perl-class-ooorno / PKGBUILD
blob49dd29c4039c7d13d5256448e322477a9ccc51f5
1 # CPAN Name  : Class-OOorNO
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.18
4 pkgname='perl-class-ooorno'
5 pkgver='0.011'
6 pkgrel='2'
7 pkgdesc="Give your module classic AND OO interfaces\r"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 url='http://search.cpan.org/dist/Class-OOorNO'
13 source=('http://search.cpan.org/CPAN/authors/id/T/TO/TOMMY/Class-OOorNO-0.011.tar.gz')
14 md5sums=('1fddbef2595f4b833646fe92ea0db45b')
16 build() {
17   DIST_DIR="${srcdir}/Class-OOorNO-0.011"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&    perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&make test &&
21     make DESTDIR="$pkgdir" install;  } || return 1;
23   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete