blob: 6608b4f010f2264342b42d6bc0f09e97395680fc (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-future
_pkgreal=Future
pkgver=0.42
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"
cpanmakedepends="perl-test-fatal perl-test-refcount perl-test-identity"
makedepends="perl-dev $cpanmakedepends perl-module-build"
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="ab08a9e3d5d216b342a3fea2273e387b907425d12872abf5efa79eb18f2cc888f5063b011fe32d64b4862195814a713077f1b8325fc27659e96dbca46f98fa05 Future-0.42.tar.gz"
|