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

23 lines
818 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-datetime-set
pkgver=0.28
pkgrel=1
pkgdesc="Datetime sets and set math"
arch=(any)
url="http://search.cpan.org/dist/DateTime-Set"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-set-infinite>=0.59' 'perl-datetime>=0.12')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/F/FG/FGLOCK/DateTime-Set-$pkgver.tar.gz)
md5sums=('b0f4ccdf212fcfa2fb0d8be855904b65')
build() {
cd $startdir/src/DateTime-Set-$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
}