1 # Contributor: Ben Webb <bjwebb67 at googlemail dot com>
2 pkgname=perl-class-dbi-frozen-301
5 pkgdesc="Simple Database Abstraction"
7 url="http://search.cpan.org/dist/Class-DBI-Frozen-301/lib/Class/DBI/Frozen/301.pm"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0')
11 conflicts=('perl-class-dbi')
12 provides=('perl-class-dbi')
13 source=(http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Class-DBI-Frozen-301-$pkgver.tar.gz)
14 md5sums=('834971643ffee38632b6702e92bef692')
17 cd "$srcdir/Class-DBI-Frozen-301-$pkgver"
19 # install module in vendor directories.
20 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make install DESTDIR=${pkgdir} || return 1
24 # remove perllocal.pod and .packlist
25 find "$pkgdir" -name perllocal.pod -delete
26 find "$pkgdir" -name .packlist -delete