blob: d34cfb4d93c429ba9a604f5c2a81df3f113e2e4e (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-future
_pkgreal=Future
pkgver=0.47
pkgrel=0
pkgdesc="represent an operation awaiting completion"
url="https://metacpan.org/release/Future"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-module-build"
checkdepends="perl-test-refcount perl-test-fatal perl-test-identity"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Future-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
check() {
./Build test
}
package() {
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="d3cdd7409be0768ac0787945746e1ea217f02e84bc04b6309c532451a9193fbdc005b3c4de37d31751e6a806649d08028c93c3bfd24df6d6d2c2bf042b01d814 Future-0.47.tar.gz"
|