[arch-commits] Commit in perl-datetime-format-w3cdtf/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Jun 2 07:11:35 UTC 2017
Date: Friday, June 2, 2017 @ 07:11:35
Author: foutrelis
Revision: 232923
archrelease: copy trunk to community-staging-any
Added:
perl-datetime-format-w3cdtf/repos/community-staging-any/
perl-datetime-format-w3cdtf/repos/community-staging-any/PKGBUILD
(from rev 232922, perl-datetime-format-w3cdtf/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-datetime-format-w3cdtf/repos/community-staging-any/PKGBUILD (from rev 232922, perl-datetime-format-w3cdtf/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-02 07:11:35 UTC (rev 232923)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-datetime-format-w3cdtf
+pkgver=0.07
+pkgrel=2
+pkgdesc="Parse and format W3CDTF datetime strings"
+arch=('any')
+url="http://search.cpan.org/dist/DateTime-Format-W3CDTF"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'perl-datetime')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-$pkgver.tar.gz)
+sha256sums=('69a02b661bbf1daa14a4813cb6786eaa66dbdf2743f0b3f458e30234c3a26268')
+
+build() {
+ cd "$srcdir"/DateTime-Format-W3CDTF-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/DateTime-Format-W3CDTF-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list