blob: 9339aa18999683d00db7d10702a8ddfa5ea10781 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Moritz Bunkus <moritz@bunkus.org>
pkgname=perl-datetime-format-oracle
pkgver=0.06
pkgrel='3'
pkgdesc="Parse and format Oracle dates and timestamps"
arch=(any)
license=('PerlArtistic')
url="http://search.cpan.org/dist/DateTime-Format-Oracle/"
depends=(perl-datetime
perl-datetime-format-builder
perl-convert-nlsdateformat)
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/K/KO/KOLIBRIE/DateTime-Format-Oracle-${pkgver}.tar.gz)
md5sums=('a288d1b06d808f98bf38d472e64f6dda')
build() {
cd ${srcdir}/DateTime-Format-Oracle-${pkgver}
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd ${srcdir}/DateTime-Format-Oracle-${pkgver}
make install DESTDIR=${pkgdir}
# remove perllocal.pod and .packlist
find "$pkgdir" "(" -name .packlist -o -name perllocal.pod ")" -delete
}
|