updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-file-policy / PKGBUILD
blob9ca03ebaf8b69e5e045381a8d59d24e27a221f53
1 # CPAN Name  : File::Policy
2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
3 # Generator  : CPANPLUS::Dist::Arch 1.13
5 pkgname=perl-file-policy
6 pkgver=1.005
7 pkgrel=1
8 pkgdesc="Perl module providing site policy for file I/O functions"
9 arch=("any")
10 url="http://search.cpan.org/dist/File-Policy"
11 license=("GPL")
12 depends=("perl" "perl-file-slurp")
13 checkdepends=("perl-log-trace" "perl-test-assertions")
14 source=(http://search.cpan.org/CPAN/authors/id/B/BB/BBC/File-Policy-1.005.tar.gz)
15 options=(!emptydirs)
16 md5sums=("735ee869bf623861724bd3960f482e0d")
18 build() {
19   cd "$srcdir/File-Policy-1.005"
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd "$srcdir/File-Policy-1.005"
26   make test
29 package() {
30   cd "$srcdir/File-Policy-1.005"
31   make install DESTDIR="$pkgdir"
32   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete