APKBUILD 956 Bytes
Newer Older
A. Wilcox's avatar
A. Wilcox committed
1
2
3
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-http-date
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
4
_pkgreal=HTTP-Date
5
_author=OALDERS
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
6
7
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
8
pkgver=6.05
9
pkgrel=0
A. Wilcox's avatar
A. Wilcox committed
10
pkgdesc="Perl module date conversion routines"
A. Wilcox's avatar
A. Wilcox committed
11
url="https://metacpan.org/release/HTTP-Date"
A. Wilcox's avatar
A. Wilcox committed
12
13
14
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
15
makedepends=""
A. Wilcox's avatar
A. Wilcox committed
16
subpackages="$pkgname-doc"
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
17
18
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
A. Wilcox's avatar
A. Wilcox committed
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

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 -delete
}

34
sha512sums="08a427a860161cd0d7a34a4fa3eb6bf6439c2504478a308ff560de0e6620c20df46f004cfcb719e3d19e35fdb650728d6983ffce1423f4d9da06f91d85c7b927  HTTP-Date-6.05.tar.gz"