mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-16 02:37:07 +02:00
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-datetime-format-rfc3339
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=DateTime-Format-RFC3339
|
|
pkgver=1.8.0
|
|
pkgrel=0
|
|
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="
|
|
b86426c8a02fd582c45c8f73c21ac445eb4984df742decb697a8c117f6054374b6870099dc74f37260f635968017950fbd98ce80a0b25064472dd184187204ad DateTime-Format-RFC3339-v1.8.0.tar.gz
|
|
"
|