aports/testing/perl-datetime-timezone-catalog-extend/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
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
2024-10-16 16:20:45 +00:00

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-datetime-timezone-catalog-extend
pkgver=0.3.3
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=DateTime-TimeZone-Catalog-Extend
pkgdesc="Extend DateTime::TimeZone catalog"
url="https://metacpan.org/release/DateTime-TimeZone-Catalog-Extend/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-datetime-timezone-alias"
checkdepends="perl-datetime-timezone"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/J/JD/JDEGUEST/DateTime-TimeZone-Catalog-Extend-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 TZ=UTC test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
dfbd29abd6684706803d8e5ab8746903b6ea3bab17b2e07030451259a387a82e841427c49f0d52e61b94f4e8e72c2f142bdc3cbf87ede0de80034941ea604a8e DateTime-TimeZone-Catalog-Extend-v0.3.3.tar.gz
"