mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Milan P. Stanić <mps@arvanta.net>
|
|
# Maintainer: Milan P. Stanić <mps@arvanta.net>
|
|
pkgname=perl-datetime-format-pg
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=DateTime-Format-Pg
|
|
pkgver=0.16014
|
|
pkgrel=0
|
|
pkgdesc="Parse and format PostgreSQL dates and times"
|
|
url="https://metacpan.org/release/DateTime-Format-Pg/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-datetime-format-builder perl-datetime-timezone perl-datetime"
|
|
makedepends="perl-module-build-tiny perl-module-build"
|
|
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DM/DMAKI/DateTime-Format-Pg-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL --installdirs=vendor
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
ff0072cac10b4457297bea958eb25c65b2d8d278257e26e3b0d12f290093ae14bb98dda7c8632562d4d45b02a2834438b93d0c6df802759938dd21b7151a8a9c DateTime-Format-Pg-0.16014.tar.gz
|
|
"
|