APKBUILD 1.07 KB
Newer Older
1
2
3
4
5
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-extutils-helpers
_pkgreal=ExtUtils-Helpers
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
6
7
8
_author=LEONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
9
10
11
pkgver=0.026
pkgrel=0
pkgdesc="Various portability utilities for Perl module builders"
A. Wilcox's avatar
A. Wilcox committed
12
url="https://metacpan.org/release/ExtUtils-Helpers"
13
14
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
15
16
depends="perl"
makedepends=""
17
subpackages="$pkgname-doc"
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
18
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
19
20
21
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
22
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
23
24
25
26
27
28
29
30
31
32
33
34
35
	make
}

check() {
	make test
}

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

sha512sums="372d801f43003c571758823a84bfe418876f1b48e3d8c35f888ca41469f6771a33aa30cf893a4c4a68ea62c6e8c8c6ab2ef44ee783dbf9f25e18bc0389359399  ExtUtils-Helpers-0.026.tar.gz"