aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-11-30 20:55:18 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-12-01 04:32:54 +0000
commit4733e6ff2bc88826009c3cf4b7bcecd60f4c1c67 (patch)
tree5089fbe071507f6266bd85a3f960d1a405653625
parent5db87d31858d9e6f886fcf45f5ad7a90745d3774 (diff)
community/perl-date-manip: upgrade to 6.83
-rw-r--r--community/perl-date-manip/APKBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/community/perl-date-manip/APKBUILD b/community/perl-date-manip/APKBUILD
index c49fc124a7b..74a037e524a 100644
--- a/community/perl-date-manip/APKBUILD
+++ b/community/perl-date-manip/APKBUILD
@@ -1,37 +1,35 @@
-# 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"