summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-http-cookies/PKGBUILD
blob: 56ff5b2fd716af921ff62e63af7db4b64027cc05 (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-cookies
pkgver=6.04
pkgrel=2
pkgdesc="HTTP cookie jars"
arch=('any')
url="http://search.cpan.org/dist/HTTP-Cookies"
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-http-date' 'perl-http-message')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTTP-Cookies-$pkgver.tar.gz)
sha512sums=('e8b24b96e6630f1238e828edfbf7074fb9186a391fd1d129fb65a82748a4cf7d71669fa658c31957560a6faac3e638c8dc7aa3182acaa6fd14f0d56f3968f5e4')

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

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

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