aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-pod/APKBUILD
blob: d9c4c319596379360c052a40c8f1d617230cd26f (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-test-pod
_realname=Test-Pod
pkgver=1.48
pkgrel=0
pkgdesc="Check for POD errors in files"
url="http://search.cpan.org/~dwheeler/"
arch="noarch"
license="Unknown"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/$_realname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_realname-$pkgver"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$srcdir/$_realname-$pkgver"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="c6bfd00ccdcb417d68fb3c0a0ec884c8  Test-Pod-1.48.tar.gz"
sha256sums="2478cea781d3740ff4ce1432770707248fb3145946244a6d96e459bf14e4bcc2  Test-Pod-1.48.tar.gz"
sha512sums="daca0f72cf8363a2b79cb16116238727ee07d1f43eb78a58edaaf2543f67f5aa3fec4feff77fe2b02e91c49ce02ffd426f45943fb570ee52dac8e3d8f95dbf14  Test-Pod-1.48.tar.gz"