summaryrefslogtreecommitdiff
path: root/user/perl-pod-constants/APKBUILD
blob: 7994f9f2f7a2473bccef3538410052e1553bf7e7 (plain) (blame)
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
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-pod-constants
_pkgreal=Pod-Constants
_author=MGV
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.19
pkgrel=0
pkgdesc="Perl module for pulling constants from POD text"
url="https://metacpan.org/pod/Pod::Constants"
arch="noarch"
license="Artistic-2.0"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="4c7b7ccdede87f0069bf100406de5b2320b5f9cb0363d413e90b419e512d4322114851d78fdd7a1bce63347ee5986ecd397b11579b91eee6e46d9b0a82b0b64a  Pod-Constants-0.19.tar.gz"