updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / perl-class-dbi-frozen-301 / PKGBUILD
blobb4a0f75f7c98312921088ffa4c1040c545d3f03e
1 # Contributor: Ben Webb <bjwebb67 at googlemail dot com>
2 pkgname=perl-class-dbi-frozen-301
3 pkgver=3.0.1
4 pkgrel=1
5 pkgdesc="Simple Database Abstraction"
6 arch=(any)
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')
10 options=(!emptydirs)
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')
16 build() {
17   cd "$srcdir/Class-DBI-Frozen-301-$pkgver"
19   # install module in vendor directories.
20   perl Makefile.PL INSTALLDIRS=vendor || return 1
21   make || 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