mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 18:26:39 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-time-moment-role-timezone
|
|
pkgver=1.000
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Time-Moment-Role-TimeZone
|
|
pkgdesc="Adjust Time::Moment with time zone objects"
|
|
url="https://metacpan.org/release/Time-Moment-Role-TimeZone/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl perl-role-tiny perl-time-moment"
|
|
checkdepends="perl-datetime perl-datetime-timezone perl-test-needs"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Time-Moment-Role-TimeZone-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$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="
|
|
739e02dc28813e476b788eb17b3b72b25f66a1e4ea058f67d00dd1561e7d1fda6773146a16167047e8ea17e0b9a4bc93b229f0b36778ceb310d158dd081d68f2 Time-Moment-Role-TimeZone-1.000.tar.gz
|
|
"
|