updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / perl-dbix-dbschema / PKGBUILD
blob762bfa68798025384a27e501f27dcf6ff3a8ad95
1 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
2 pkgname=perl-dbix-dbschema
3 pkgver=0.39
4 pkgrel=1
5 pkgdesc="Perl modile providing database-independent schema objects"
6 arch=("any")
7 url="http://search.cpan.org/dist/DBIx-DBSchema/"
8 license=("GPL" "PerlArtistic")
9 depends=("perl" "perl-dbi" "perl-freezethaw")
10 options=(!emptydirs)
11 source=(http://search.cpan.org/CPAN/authors/id/I/IV/IVAN/DBIx-DBSchema-$pkgver.tar.gz)
12 md5sums=("532a5cfa5bac9f947ef9b960b915a88f")
14 build() {
15   cd "$srcdir/DBIx-DBSchema-$pkgver"
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 check() {
21   cd "$srcdir/DBIx-DBSchema-$pkgver"
22   make test
25 package() {
26   cd "$srcdir/DBIx-DBSchema-$pkgver"
27   make install DESTDIR="$pkgdir"
28   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete