blob: 5adb9d11ab8ecd8dda68fe29de8a1e7a4fccfde5 (
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: PKGBUILD 140682 2011-10-18 03:16:34Z eric $
# Maintainer: Kevin <kevin@archlinux.org>
# Contributor: Firmicus <francois.archlinux.org>
pkgname=perl-test-pod
_realname=Test-Pod
pkgver=1.45
pkgrel=1
pkgdesc="Check for POD errors in files"
arch=('any')
url="http://search.cpan.org/dist/${_realname}/"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/${_realname}-${pkgver}.tar.gz)
md5sums=('089c8f272931df82f6c4d11a74f04628')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
perl Build.PL installdirs=vendor
./Build
}
package() {
cd "${srcdir}/${_realname}-${pkgver}"
./Build install destdir="${pkgdir}"
find "${pkgdir}" -name '.packlist' -delete
find "${pkgdir}" -name '*.pod' -delete
}
|