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-Atom-v1.8.0/diff/IKEGAMI/DateTime-Format-Atom-v1.6.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-atom
|
|
pkgver=1.8.0
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=DateTime-Format-Atom
|
|
pkgdesc="Parse and format Atom datetime strings"
|
|
url="https://metacpan.org/release/DateTime-Format-Atom/"
|
|
arch="noarch"
|
|
license="CC0-1.0"
|
|
depends="perl perl-datetime-format-rfc3339"
|
|
checkdepends="perl-test-pod"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/I/IK/IKEGAMI/DateTime-Format-Atom-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="
|
|
8a3b85fd5d8f5204cd92c108d998a6a27fa3e41ee39daeb51ac9065716a99fdb9464ef157c746a44ff2d6294db451720ebf476507b2d35d7f20e401b4cb5e282 DateTime-Format-Atom-v1.8.0.tar.gz
|
|
"
|