diff options
Diffstat (limited to 'abs/core-testing/perl_modules/perl-datetime-format-strptime')
-rw-r--r-- | abs/core-testing/perl_modules/perl-datetime-format-strptime/ChangeLog | 7 | ||||
-rw-r--r-- | abs/core-testing/perl_modules/perl-datetime-format-strptime/PKGBUILD | 28 |
2 files changed, 35 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-datetime-format-strptime/ChangeLog b/abs/core-testing/perl_modules/perl-datetime-format-strptime/ChangeLog new file mode 100644 index 0000000..46b7684 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-datetime-format-strptime/ChangeLog @@ -0,0 +1,7 @@ +2009-02-27 Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> + + * 1.0900-1 : + Adopted the PKGBUILD + Modified the PKGBUILD to match new PKGBUILD-perl.proto + Added missing dep perl-datetime + Added a ChangeLog diff --git a/abs/core-testing/perl_modules/perl-datetime-format-strptime/PKGBUILD b/abs/core-testing/perl_modules/perl-datetime-format-strptime/PKGBUILD new file mode 100644 index 0000000..5f2d8de --- /dev/null +++ b/abs/core-testing/perl_modules/perl-datetime-format-strptime/PKGBUILD @@ -0,0 +1,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 +} |