diff options
Diffstat (limited to 'abs/core/perl_modules/perl-datetime-timezone')
-rw-r--r-- | abs/core/perl_modules/perl-datetime-timezone/PKGBUILD | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD b/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD index 65c7e9d..7fe325f 100644 --- a/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD @@ -1,23 +1,28 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id: PKGBUILD 73843 2012-07-16 05:40:15Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-datetime-timezone -pkgver=0.84 +pkgver=1.46 pkgrel=1 pkgdesc="Time zone object base class and factory " -arch=('i686' 'x86_64') -url="http://search.cpan.org/~DROLSKY/DateTime-TimeZone" +arch=(any) +url="http://search.cpan.org/dist/DateTime-TimeZone" license=('GPL' 'PerlArtistic') -depends=('perl-class-singleton>=1.03' 'perl-params-validate>=0.72') +depends=('perl-class-singleton>=1.03' 'perl-params-validate>=0.72' 'perl-class-load') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz) +source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz) +md5sums=('e83f412286d7787e3dfd5427a1943569') build() { - cd $startdir/src/DateTime-TimeZone-$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-TimeZone-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/DateTime-TimeZone-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } -md5sums=('e6f36fa00425d64377aeae74a7da0ac3') |