archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-http-date / trunk / PKGBUILD
blob6b3f56da4b115d237d2342d5741f85ba98d5c638
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-http-date
4 pkgver=6.05
5 pkgrel=6
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 sha256sums=('365d6294dfbd37ebc51def8b65b81eb79b3934ecbc95a2ec2d4d827efe6a922b')
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