aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-extutils-makemaker/APKBUILD
blob: 0a4ff012830d509a0b2bd8e92a3172c8f86090ec (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
35
36
37
38
39
40
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-extutils-makemaker
_pkgreal=ExtUtils-MakeMaker
pkgver=7.36
pkgrel=1
pkgdesc="Create a module Makefile"
url="https://metacpan.org/release/ExtUtils-MakeMaker"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

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

build() {
	make
}

check() {
	make test
}

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

doc() {
	default_doc
	replaces="perl-doc"
}

sha512sums="dcc15f85116e4aa0258d3be643d89753b0a6c45db95de15957d1c4edf9cad086c7e670a420dccb3e7758310e3520651add7c8f34609e347f1fc8ecf48160b24f  ExtUtils-MakeMaker-7.36.tar.gz"