aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-datetime-format-mail/APKBUILD
blob: ce1a700012a636707edea659dac90c8eea80f8d9 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-datetime-format-mail
pkgver=0.403
pkgrel=2
pkgdesc="DateTime::Format::Mail perl module"
url="https://metacpan.org/release/DateTime-Format-Mail/"
arch="noarch"
license="GPL-2.0 or Artistic"
depends="perl perl-datetime perl-params-validate"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BO/BOOK/DateTime-Format-Mail-$pkgver.tar.gz"

builddir="$srcdir"/DateTime-Format-Mail-$pkgver

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="b5e6f0ffdda3c52aa64b65414f399dcc06f72004c5421f8f0dbf1f9d4cda6e0deb1c3873df62531dc265a44ac66fd110dfc1d4273c97a48b0c472a67b03fd56f  DateTime-Format-Mail-0.403.tar.gz"