summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules/perl-datetime-timezone/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-datetime-timezone/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD b/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD
index 7fe325f..e9fd111 100644
--- a/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD
+++ b/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD
@@ -1,28 +1,29 @@
-# $Id: PKGBUILD 73843 2012-07-16 05:40:15Z spupykin $
+# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-datetime-timezone
-pkgver=1.46
+pkgver=2.19
pkgrel=1
pkgdesc="Time zone object base class and factory "
arch=(any)
url="http://search.cpan.org/dist/DateTime-TimeZone"
license=('GPL' 'PerlArtistic')
-depends=('perl-class-singleton>=1.03' 'perl-params-validate>=0.72' 'perl-class-load')
+depends=('perl-class-singleton>=1.03' 'perl-params-validate>=0.72' 'perl-class-load'
+ 'perl-list-allutils')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz)
-md5sums=('e83f412286d7787e3dfd5427a1943569')
+source=(https://www.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz)
+sha256sums=('b9192efe202d71b4ff7840718807a244bfca3992afd7e7ca78da20849f5ea4f8')
build() {
- cd $srcdir/DateTime-TimeZone-$pkgver
+ 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
+ cd "$srcdir"/DateTime-TimeZone-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
}