PKGBUILDs/community/perl-datetime-timezone/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
848 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-datetime-timezone
pkgver=0.99
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')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz)
md5sums=('819bfbf79150f4a8e7622b793c47a835')
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
}