updated on Mon Jan 23 04:00:55 UTC 2012
[aur-mirror.git] / perl-test-memory-cycle / PKGBUILD
blobc6b2ad409eab1a9ce922b68f9254091c10e0635d
1 # CPAN Name  : Test-Memory-Cycle
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.18
4 pkgname='perl-test-memory-cycle'
5 pkgver='1.04'
6 pkgrel='1'
7 pkgdesc="Verifies code hasn't left circular references"
8 arch=('i686' 'x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl' 'perl-devel-cycle>=1.07' 'perl-padwalker')
12 url='http://search.cpan.org/dist/Test-Memory-Cycle'
13 source=('http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-1.04.tar.gz')
14 md5sums=('0c51e09f6bc23676ca0112b1a95e129d')
16 build() {
17   DIST_DIR="${srcdir}/Test-Memory-Cycle-1.04"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&
20     perl Makefile.PL INSTALLDIRS=vendor &&
21     make &&
22     make test &&
23     make DESTDIR="$pkgdir" install;
24   } || return 1;
26   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete