summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 603461dab49925459ead0de45aee9a2e99848359 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com>
# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab

_author=B/BB/BBC
_perlmod=Pod-Xhtml
pkgname=perl-pod-xhtml
pkgver=1.61
pkgrel=3
pkgdesc='Pod::Xhtml - Generate well-formed XHTML documents from POD format documentation'
arch=('any')
url="http://search.cpan.org/~bbc/Pod-Xhtml/"
license=('GPL' 'PerlArtistic')
groups=()
depends=(
perl-test-assertions
perl-uri
)
makedepends=(
perl
)
optdepends=()
provides=(
perl-pod-hyperlink-bounceurl
)
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz")
noextract=()

build(){
  cd "$srcdir/$_perlmod-$pkgver"

  # Install module in vendor directories.
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}
check(){
  cd "$srcdir/$_perlmod-$pkgver"
  make test
}
package(){
  cd "$srcdir/$_perlmod-$pkgver"
  make install DESTDIR="$pkgdir/"
  # remove perllocal.pod and .packlist
  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
md5sums=('51e17843d0c91592ed10d21dec5ed60f')