blob: 2c214eb9a24ac0ad6f45291a9e39d4b14c2ddb9e (
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
42
43
|
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-module-build-tiny
pkgver=0.050
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Module-Build-Tiny
pkgdesc="Tiny replacement for Module::Build"
url="https://metacpan.org/release/Module-Build-Tiny/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
perl
perl-extutils-config
perl-extutils-helpers
perl-extutils-installpaths
perl-cpan-requirements-dynamic
"
checkdepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
c0adf56650f497c5315d94614c2ad79bc5a723da1aeb9c0279b65c3726574901bcdfa89f2d4f4263171a317226b6ec2a524f350356e5f8fceaf6068d25c6a2fe Module-Build-Tiny-0.050.tar.gz
"
|