aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-extutils-makemaker/APKBUILD
blob: fde6b9cc02d828ec0546d9eb075c06771a5cfcc6 (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
33
34
35
36
37
38
39
40
41
# 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.44
pkgrel=0
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"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-$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="c83e5ea1347bc736c007978fdcda9817ecb9ae48df824b0ea02305e7fa82b929c67e1cef244efb40d050e27b1b3903581bb401056bc0b07ec6e5611c84839536  ExtUtils-MakeMaker-7.44.tar.gz"