blob: 407871d9ee759f392b9aa9616c8891981c0ded83 (
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
39
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-email-date-format
_pkgreal=Email-Date-Format
pkgver=1.005
pkgrel=0
pkgdesc="produce RFC 2822 date strings"
url="http://search.cpan.org/dist/Email-Date-Format/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" perl-capture-tiny "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="030dcee3bc1a44674900b0132925bd03 Email-Date-Format-1.005.tar.gz"
sha256sums="579c617e303b9d874411c7b61b46b59d36f815718625074ae6832e7bb9db5104 Email-Date-Format-1.005.tar.gz"
sha512sums="23daefa45874211f053d05ac3c3f3c7c3a86d9b623fdcec3bd9f6f7b4c8e5ad1ac8038146bdc85cc950b21b43b0ad843f8a52ad2183d868d3a62ea96292e34ca Email-Date-Format-1.005.tar.gz"
|