archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-http-date / trunk / PKGBUILD
blob1fa02101c357ebc1dcebff35d27081a4324eedf5
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-http-date
4 pkgver=6.05
5 pkgrel=4
6 pkgdesc="Date conversion routines"
7 arch=('any')
8 url="https://search.cpan.org/dist/HTTP-Date"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl-timedate')
11 options=('!emptydirs')
12 source=(https://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTTP-Date-$pkgver.tar.gz)
13 sha1sums=('91ee37a40fd75bc303aad2454b43c0a3908c9f38')
15 build() {
16   cd HTTP-Date-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd HTTP-Date-$pkgver
23   make test
26 package() {
27   cd HTTP-Date-$pkgver
28   make DESTDIR="$pkgdir" install