blob: c33d1c0b0399082be5e1f6cee73859a61cd79f0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-date-manip
_pkgreal=Date-Manip
pkgver=6.79
pkgrel=0
pkgdesc="Date manipulation routines"
url="https://metacpan.org/release/Date-Manip"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-yaml-syck"
cpanmakedepends="perl-test-inter"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-build"
checkdepends="perl-test-pod perl-test-pod-coverage perl-file-find-rule"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Date-Manip-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" pure_install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="c785af53c44e4fffb370860635c795cbb9557e57551d89a3a5f7e55326d830069ee8d406c92789ffc366170a4961f4b7c1e8da056d5bd41317ce837fd5e75da8 Date-Manip-6.79.tar.gz"
|