mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/perl-datetime-set: new aport
https://metacpan.org/release/DateTime-Set/ DateTime set objects
This commit is contained in:
parent
9217a0bf61
commit
2251c5e16f
37
testing/perl-datetime-set/APKBUILD
Normal file
37
testing/perl-datetime-set/APKBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
maintainer="Celeste <cielesti@protonmail.com>"
|
||||
pkgname=perl-datetime-set
|
||||
pkgver=0.3900
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=DateTime-Set
|
||||
pkgdesc="DateTime set objects"
|
||||
url="https://metacpan.org/release/DateTime-Set/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-datetime perl-params-validate perl-set-infinite"
|
||||
makedepends="perl-module-build"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/F/FG/FGLOCK/DateTime-Set-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
perl Build.PL \
|
||||
--installdirs=vendor \
|
||||
--create_packlist=0
|
||||
./Build
|
||||
}
|
||||
|
||||
check() {
|
||||
./Build test
|
||||
}
|
||||
|
||||
package() {
|
||||
./Build install --destdir="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
cf480bc6220392567757665828541d9cd5534c28aa54e81ffde15c5fa23ce33e64dbe153cbb5add4a6a466a3debc28bd92166aeb0d107ecd9c73960d93b6442f DateTime-Set-0.3900.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user