updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-jifty-dbi / PKGBUILD
blobbbbdfada6141fa57071fe520a85e2cc756d28fc7
1 # CPAN Name  : Jifty::DBI
2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
3 # Generator  : CPANPLUS::Dist::Arch 1.19
5 pkgname=perl-jifty-dbi
6 pkgver=0.72
7 pkgrel=1
8 pkgdesc="An object-relational persistence framework for Jifty"
9 arch=("any")
10 url="http://search.cpan.org/dist/Jifty-DBI"
11 license=("GPL" "PerlArtistic")
13 depends=(
14   "perl" # provides "perl-encode" "perl-version"
15   "perl-cache-simple-timedexpiry>=0.21"
16   "perl-class-accessor"
17   "perl-class-data-inheritable"
18   "perl-class-returnvalue>=0.4"
19   "perl-class-trigger>=0.12"
20   "perl-clone"
21   "perl-dbi"
22   "perl-dbix-dbschema>=0.34"
23   "perl-data-page>=2.0"
24   "perl-datetime>=0.34"
25   "perl-datetime-format-iso8601"
26   "perl-datetime-format-strptime"
27   "perl-exporter-lite"
28   "perl-hash-merge"
29   "perl-lingua-en-inflect"
30   "perl-object-declare>=0.22"
31   "perl-scalar-defer>=0.1"
32   "perl-universal-require>=0.11")
34 checkdepends=("perl-test-warn" "perl-dbd-sqlite")
36 optdepends=(
37   "perl-cache-memcached: Memcached support"
38   "perl-yaml: YAML filter"
39   "perl-yaml-syck: YAML filter"
40   "perl-time-duration: duration filter"
41   "perl-time-duration-parse>=0.06: duration filter"
42   "perl-uri: URI filter")
44 options=(!emptydirs)
45 source=(http://search.cpan.org/CPAN/authors/id/T/TS/TSIBLEY/Jifty-DBI-0.72.tar.gz)
46 md5sums=("87dd2955bf532513af25552e3669ef58")
48 build() {
49   cd "$srcdir/Jifty-DBI-0.72"
50   PERL_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
51   make
54 check() {
55   cd "$srcdir/Jifty-DBI-0.72"
56   make test
59 package() {
60   cd "$srcdir/Jifty-DBI-0.72"
61   make install DESTDIR="$pkgdir"
62   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete