summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-http-negotiate/PKGBUILD
blob: c12a54c18c1853ed14095a434f2c7c97568d8e53 (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-negotiate
pkgver=6.01
pkgrel=4
pkgdesc="Choose a variant to serve"
arch=('any')
url="http://search.cpan.org/dist/HTTP-Negotiate"
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-http-message')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Negotiate-$pkgver.tar.gz)
sha1sums=('4a4974639d9b64f7132cb075f551f7293f788c62')

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

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

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