summaryrefslogtreecommitdiff
path: root/system/perl-module-build-tiny/APKBUILD
blob: 95bf7b4b79bd0b9a69bf78042e214566e2b0d9f0 (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
# 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-module-build-tiny
_pkgreal=Module-Build-Tiny
_author=LEONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.039
pkgrel=0
pkgdesc="A tiny replacement for Module::Build"
url="https://metacpan.org/release/Module-Build-Tiny"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl-extutils-installpaths perl-extutils-config perl-extutils-helpers perl-test-harness"
checkdepends="perl-dev"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	perl Build.PL --installdirs=vendor
	./Build
}

check() {
	./Build test
}

package() {
	./Build install --destdir="$pkgdir" --create_packlist=0
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="26ca6fe4c1792b26bb2b4711035847f4215ea7c37234fbe24fc07432682fd9d3b6016dbdb2ecb455a7b13f6bea13994826c7f84f21075f0a6e575fa74672903a  Module-Build-Tiny-0.039.tar.gz"