mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
23 lines
867 B
Bash
23 lines
867 B
Bash
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
|
|
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
|
|
|
pkgname=perl-datetime
|
|
pkgver=0.50
|
|
pkgrel=1
|
|
pkgdesc="A complete, easy to use date and time object"
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/DateTime"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl-datetime-timezone>=0.59' 'perl-datetime-locale>=0.41' 'perl-params-validate>=0.76')
|
|
options=('!emptydirs' 'force')
|
|
source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz)
|
|
|
|
build() {
|
|
cd $startdir/src/DateTime-$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
|
|
}
|
|
md5sums=('d7cf8bdbb3e55dda31f8bbea6cafad2f')
|