diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 20:28:26 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 20:28:26 (GMT) |
commit | cdf5dff0d425a9c435accb6142d554c5da4a2144 (patch) | |
tree | 81c1dba966e0101b8e2d3d32ab7b749668e96947 /abs/core/perl_modules | |
parent | 024a4f7c6c6bf013c30dc6a21e644f8d98e3f20a (diff) | |
download | linhes_pkgbuild-cdf5dff0d425a9c435accb6142d554c5da4a2144.zip linhes_pkgbuild-cdf5dff0d425a9c435accb6142d554c5da4a2144.tar.gz linhes_pkgbuild-cdf5dff0d425a9c435accb6142d554c5da4a2144.tar.bz2 |
perl-datetime-format-w3cdtf: update to .07
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r-- | abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD index 80a5f9b..105312c 100644 --- a/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD @@ -1,23 +1,28 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-datetime-format-w3cdtf -pkgver=0.04 -pkgrel=3 +pkgver=0.07 +pkgrel=2 pkgdesc="Parse and format W3CDTF datetime strings" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~KELLAN/DateTime-Format-W3CDTF" +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://www.cpan.org/authors/id/K/KE/KELLAN/DateTime-Format-W3CDTF-$pkgver.tar.gz) -md5sums=('5ad0a41bb5de08f9c16395ea311bb491') +source=(http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-$pkgver.tar.gz) +sha256sums=('69a02b661bbf1daa14a4813cb6786eaa66dbdf2743f0b3f458e30234c3a26268') build() { - cd $startdir/src/DateTime-Format-W3CDTF-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=$startdir/pkg || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + 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 } |