mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
https://metacpan.org/release/IKEGAMI/DateTime-Format-RFC3339-v1.10.0/diff/IKEGAMI/DateTime-Format-RFC3339-v1.8.0
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-datetime-format-rfc3339
|
|
pkgver=1.10.0
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=DateTime-Format-RFC3339
|
|
pkgdesc="Parse and format RFC3339 datetime strings"
|
|
url="https://metacpan.org/release/DateTime-Format-RFC3339/"
|
|
arch="noarch"
|
|
license="CC0-1.0"
|
|
depends="perl perl-datetime"
|
|
checkdepends="perl-test-pod"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/I/IK/IKEGAMI/DateTime-Format-RFC3339-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-v$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
ce0bb5559d2f333ed09c7e158a4543c1809580954a2e9cf6e944905c68689382ed72f5cc5d83f350f758cb9bb163e399922d7ae0ca5639fcf2dd30637948e911 DateTime-Format-RFC3339-v1.10.0.tar.gz
|
|
"
|