upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-datetime-format-w3cdtf / trunk / PKGBUILD
blob602c14cc4e99fed6d04f7b0d5f7089a9baf0c014
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: François Charette <firmicus ατ gmx δοτ net>
4 pkgname=perl-datetime-format-w3cdtf
5 pkgver=0.08
6 pkgrel=3
7 pkgdesc="Parse and format W3CDTF datetime strings"
8 arch=('any')
9 url="https://search.cpan.org/dist/DateTime-Format-W3CDTF"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl>=5.10.0' 'perl-datetime')
12 options=('!emptydirs')
13 source=(https://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-$pkgver.tar.gz)
14 sha256sums=('dcc200a073a21cba48122a5dae0b6a875df93d3f8c8ae9d446dcdd9befaa413a')
16 build() {
17   cd  "$srcdir"/DateTime-Format-W3CDTF-$pkgver
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
19   make
22 package() {
23   cd  "$srcdir"/DateTime-Format-W3CDTF-$pkgver
24   make install DESTDIR="$pkgdir"
25   find "$pkgdir" -name '.packlist' -delete
26   find "$pkgdir" -name '*.pod' -delete