aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-date-manip/APKBUILD
blob: 50cab7d4fdc730fbc120daeb7ba0efc26e9cffd1 (plain) (blame)
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
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-date-manip
_pkgreal=Date-Manip
pkgver=6.81
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"
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"
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="108549194a1084d6d235ba8765ae6e4f5fc15d7338b5f27c1b5e6239508001f4dbfb5182c67c0815acef7ee3c9ebe9ecf1ff500e186f20fa83125b4826a8e097  Date-Manip-6.81.tar.gz"