mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/perl-datetime-format-rfc3339: new aport
https://metacpan.org/release/DateTime-Format-RFC3339/ Parse and format RFC3339 datetime strings
This commit is contained in:
parent
330fcfa023
commit
0ef95715b2
39
testing/perl-datetime-format-rfc3339/APKBUILD
Normal file
39
testing/perl-datetime-format-rfc3339/APKBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
# 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.6.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="
|
||||
985e743db9590532ced2c488e00f97c8dd7219da9d774a9813c557333cbe4428ee18c42a4d9d863eacdf3c6b169554127e856805a16c752ece2738d79a755381 DateTime-Format-RFC3339-v1.6.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user