blob: c117d32eca5b4e4dbe3d36088a99a7c8744177d3 (
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.95
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="9abc657f20ae1cc77651f0fc69cbe36b DateTime-TimeZone-1.95.tar.gz"
sha256sums="de2b1888718c7a0383060f250589b6ea36fa7afa2be9c4e1b06d29e05b25d4f1 DateTime-TimeZone-1.95.tar.gz"
sha512sums="50bc594c6626130a202bb8f3da2a12e5ea425e2960b79f2e634699988120ace7767fa03aa41ddaf70769b875d836ffa5b4b5c689d420c2cd90f2d883da05b451 DateTime-TimeZone-1.95.tar.gz"
|