updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-mixin-linewise / PKGBUILD
blob9e5a1466d3bba6ab801bf99f2ebfb4e4b5605ca6
1 # CPAN Name  : Mixin-Linewise
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.20
4 pkgname='perl-mixin-linewise'
5 pkgver='0.003'
6 pkgrel='1'
7 pkgdesc="write your linewise code for handles; this does the rest"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl' 'perl-io-string' 'perl-sub-exporter>=0.9')
13 url='http://search.cpan.org/dist/Mixin-Linewise'
15 source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Mixin-Linewise-0.003.tar.gz')
16 md5sums=('10c1f76b6afce3b7080b2689b6a964d1')
18 build() {
19   DIST_DIR="${srcdir}/Mixin-Linewise-0.003"
20   export PERL_MM_USE_DEFAULT=1
21   {
22         cd "$DIST_DIR" &&
23     perl Makefile.PL INSTALLDIRS=vendor &&
24     make &&
25     make test &&
26     make DESTDIR="$pkgdir" install;
27   } || return 1;
29   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete