Commit 4733e6ff authored by Leo's avatar Leo
Browse files

community/perl-date-manip: upgrade to 6.83

parent 5db87d31
# Automatically generated by apkbuild-cpan, template 1
# Automatically generated by apkbuild-cpan, template 3
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-date-manip
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Date-Manip
pkgver=6.82
pkgrel=1
pkgver=6.83
pkgrel=0
pkgdesc="Date manipulation routines"
url="https://metacpan.org/release/Date-Manip"
url="https://metacpan.org/release/Date-Manip/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-yaml-syck"
makedepends="perl-test-inter perl-dev perl-module-build"
checkdepends="perl-test-pod perl-test-pod-coverage perl-file-find-rule"
depends="perl"
makedepends="perl-dev"
checkdepends="perl-test-inter"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Date-Manip-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" pure_install
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="2e34011b678d7efdd0f9c850c86f573316aa835d4b67732ee042403f90460e43c2fac76f2c0635a61512f1aa0eb64fc56fb2c4b2d80068ba7d1a603ae9c1dac2 Date-Manip-6.82.tar.gz"
sha512sums="67983bdd0eb26ef06fa1b908f8b4f7832882442afaff94da009f149e66128df18dc36fba8ba4d72071a76eb3f080e6991e0854cb965e8f5ec4a4525f79e64d39 Date-Manip-6.83.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment