1 # Contributor: Piotr Rogoza <rogoza dot piotr at gmail dot com>
6 pkgname=perl-scriptdist
9 pkgdesc='Create a distribution for a perl script '
11 url='http://search.cpan.org/~bdfoy/scriptdist/'
12 license=('GPL' 'PerlArtistic')
17 source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz")
20 cd "$srcdir/$_perlmod-$pkgver"
22 # Install module in vendor directories.
23 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
27 cd "$srcdir/$_perlmod-$pkgver"
31 cd "$srcdir/$_perlmod-$pkgver"
32 make install DESTDIR="$pkgdir/"
34 # remove perllocal.pod and .packlist
35 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
37 # vim:set ts=2 sw=2 et ft=sh tw=100:
38 md5sums=('392bbba7d7a5d138acc35cdeeb30c4e6')