blob: 298e827b49a7235667040cf4635af273516cd798 (
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
38
39
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-datetime-timezone
_pkgreal=DateTime-TimeZone
pkgver=1.87
pkgrel=0
pkgdesc="Time zone object base class and factory"
url="http://search.cpan.org/dist/DateTime-TimeZone/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-params-validate perl-class-singleton perl-class-load perl-list-allutils"
cpanmakedepends=" perl-test-fatal perl-test-output perl-test-requires "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="fe9fd8bbe6d5061af47bc0749bd20cb9 DateTime-TimeZone-1.87.tar.gz"
sha256sums="b4859ec01d6758e2d840e60e1bfc72be69bd9c54786e5bcd50dee5c184fa3bf7 DateTime-TimeZone-1.87.tar.gz"
sha512sums="e72b74274ee26875f8818d6c03dcff1e6f4a2ca67f0ec48701e5e7dfb6ae9fd2146852f6262b87d43d33f394256fc7bc2faeb7a6f2d590c05e9b66af0467766b DateTime-TimeZone-1.87.tar.gz"
|