1 # vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
2 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
7 pkgname=perl-data-alias
10 pkgdesc='Data::Alias - Comprehensive set of aliasing operations'
12 url="http://search.cpan.org/~zefram/Data-Alias/"
13 license=('GPL' 'PerlArtistic')
24 source=("http://cpan.perl.org/modules/by-authors/id/$_author/$_perlmod-$pkgver.tar.gz")
28 cd "$srcdir/$_perlmod-$pkgver"
30 # Install module in vendor directories.
31 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
35 cd "$srcdir/$_perlmod-$pkgver"
39 cd "$srcdir/$_perlmod-$pkgver"
40 make install DESTDIR="$pkgdir/"
42 # remove perllocal.pod and .packlist
43 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
46 md5sums=('f53a4f654d57671fe0bd2cdcd6974e41')