blob: 9f6a4e82951e28e8b2841d4bc2577dd5057cf7c2 (
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
28
29
30
31
32
33
34
35
36
37
|
# $Id: PKGBUILD 91663 2013-05-26 09:24:55Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-datetime
pkgver=1.03
pkgrel=2
pkgdesc="A complete, easy to use date and time object"
arch=('i686' 'x86_64' 'mips64el')
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' 'perl-math-round')
LC_NUMERIC=C
provides=("perl-datetime=`printf %.4f $pkgver`")
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz)
md5sums=('ea0fc830410b9ce3baeef3525bc0acdd')
build() {
cd $srcdir/DateTime-$pkgver
perl Build.PL installdirs=vendor destdir="$pkgdir/"
./Build
}
check() {
cd $srcdir/DateTime-$pkgver
# ./Build test
true
}
package() {
cd $srcdir/DateTime-$pkgver
./Build install
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}
|