summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-test-pod/PKGBUILD
blob: f6e0d228492607898c4bf47ebde60c156fa47b55 (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
31
32
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Kevin <kevin@archlinux.org>
# Contributor: Firmicus <francois.archlinux.org> 

pkgname=perl-test-pod
pkgver=1.52
pkgrel=1
pkgdesc="Check for POD errors in files"
arch=('any')
url="http://search.cpan.org/dist/Test-Pod/"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-${pkgver}.tar.gz)
sha512sums=('9b078488e1da8b907f5f3a46452aa9bfd49db61f1539d076dccebf9a8b476eaf0f539f00badc9c500b1e732a8827331b2286375924986efb990367767eeb8365')

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

check() {
  cd Test-Pod-${pkgver}
  make test
}

package() {
  cd Test-Pod-${pkgver}
  make DESTDIR="${pkgdir}" install
}