Files
extra/perl-test-pod/PKGBUILD
2025-06-22 20:39:04 -05:00

33 lines
921 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=perl-test-pod
pkgver=1.52
pkgrel=1
pkgdesc="Check for POD errors in files"
arch=('any')
url="https://search.cpan.org/dist/Test-Pod/"
license=('GPL-1')
depends=('perl')
options=('!emptydirs')
source=(https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-${pkgver}.tar.gz
COPYING)
sha512sums=('9b078488e1da8b907f5f3a46452aa9bfd49db61f1539d076dccebf9a8b476eaf0f539f00badc9c500b1e732a8827331b2286375924986efb990367767eeb8365'
'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9')
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
install -Dm644 ${srcdir}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}