blob: 5f2d8de813e4d3c109d6759f0a76a65d657407be (
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
|
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-datetime-format-strptime
_pkgname=DateTime-Format-Strptime
pkgver=1.0900
pkgrel=1
pkgdesc="DateTime::Format::Strptime - Parse and format strp and strf time patterns"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~RICKM/${_pkgname}"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-datetime')
options=(!emptydirs)
source=(http://www.cpan.org/authors/id/R/RI/RICKM/${_pkgname}-$pkgver.tgz)
md5sums=('f84e3e11b2948ca0fc2848b9c123e473')
build() {
cd $srcdir/${_pkgname}-$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
}
|