blob: 360b88a7485742208a7108c058167eceab5684cd (
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
|
# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
pkgname=perl-datetime-format-iso8601
pkgver=0.07
pkgrel=1
pkgdesc="Parses ISO8601 formats."
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/DateTime-Format-ISO8601/"
license=('PerlArtistic')
depends=('perl-datetime-format-builder>=0.770.0' 'perl-datetime>=0.18')
#makedepends=('perl-module-build>=0.350.0')
optdepends=('perl-file-find-rule'
'perl-test-distribution'
'perl-test-pod')
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-$pkgver.tar.gz")
md5sums=('debb51180d0318ae09cad01c544a1d7d')
build() {
cd $srcdir/DateTime-Format-ISO8601-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR="${pkgdir}" || return 1
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
}
|