summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-time-format/PKGBUILD
blob: 5d240f7c97d8d0dff956d51ef8493d570b37fff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-time-format
pkgver=1.12
pkgrel=2
pkgdesc="Perl/CPAN Module Time::Format : Easytouse datetime formatting"
arch=(any)
url="http://search.cpan.org/dist/Time-Format"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Time-Format-$pkgver.tar.gz")
md5sums=('cd42110c749bea1b4babcd5fa9d0fdad')

build() {
  cd "$srcdir"/Time-Format-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "$srcdir"/Time-Format-$pkgver
  make install DESTDIR="$pkgdir"
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete
}