summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-http-date/PKGBUILD
blob: 245a8cf0383e85605de10a04fabdff8d2373b786 (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
# $Id$
# Maintainer:

pkgname=perl-http-date
pkgver=6.02
pkgrel=4
pkgdesc="Date conversion routines"
arch=('any')
url="http://search.cpan.org/dist/HTTP-Date"
license=('PerlArtistic' 'GPL')
depends=('perl')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Date-$pkgver.tar.gz)
sha1sums=('85f8dbcad22f2680775a185ce91a42c89e0ad2a8')

build() {
  cd HTTP-Date-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd HTTP-Date-$pkgver
  make test
}

package() {
  cd HTTP-Date-$pkgver
  make DESTDIR="$pkgdir" install
}