summaryrefslogtreecommitdiff
path: root/community/perl-datetime-format-iso8601
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/perl-datetime-format-iso8601
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/perl-datetime-format-iso8601')
-rw-r--r--community/perl-datetime-format-iso8601/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/perl-datetime-format-iso8601/PKGBUILD b/community/perl-datetime-format-iso8601/PKGBUILD
new file mode 100644
index 000000000..6d5c9b6bc
--- /dev/null
+++ b/community/perl-datetime-format-iso8601/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
+
+pkgname=perl-datetime-format-iso8601
+pkgver=0.07
+pkgrel=2
+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.180.0')
+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
+ make
+}
+
+package() {
+ cd $srcdir/DateTime-Format-ISO8601-$pkgver
+ make install DESTDIR="${pkgdir}"
+
+ find ${pkgdir} -name perllocal.pod -delete
+ find ${pkgdir} -name .packlist -delete
+}