updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-time-piece / PKGBUILD
blobf5480240aedb5d1071536df59c46988c1f399a9a
1 # CPAN Name  : Time-Piece
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.18
4 pkgname='perl-time-piece'
5 pkgver='1.20'
6 pkgrel='1'
7 pkgdesc="Object Oriented time objects"
8 arch=('i686' 'x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 url='http://search.cpan.org/dist/Time-Piece'
13 source=('http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/Time-Piece-1.20.tar.gz')
14 md5sums=('99589dce0375d51ff9287a5431444c5f')
16 build() {
17   DIST_DIR="${srcdir}/Time-Piece-1.20"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&
20     perl Makefile.PL INSTALLDIRS=vendor &&
21     make &&
22     make test &&
23     make DESTDIR="$pkgdir" install;
24   } || return 1;
26   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete