aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-future/APKBUILD
blob: 38efd198c7adfddc1d4170784f9738c1e366e171 (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
# Automatically generated by apkbuild-cpan, template 1
# Contributor: 
# Maintainer: 
pkgname=perl-future
_pkgreal=Future
pkgver=0.15
pkgrel=0
pkgdesc="represent an operation awaiting completion"
url="http://search.cpan.org/dist/Future/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-test-identity perl-test-fatal perl-test-refcount perl-test-warn   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	perl Build.PL installdirs=vendor || return 1
}

build() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	./Build && ./Build test
}

package() {
	cd "$_builddir"
	./Build install destdir="$pkgdir" || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="7e77ad602adf25f12768ad135190a8cc  Future-0.15.tar.gz"
sha256sums="7fa80f8ad9d9b3015d83279a0a526a6e1864c14be98d67bd1fb496f207fe26ee  Future-0.15.tar.gz"
sha512sums="62b609fe2dc27a3d9fc6e549528c0b1af246c84a4a8bce72ecb8bd134c16e705a7bb980031f5c511b34809118e7d9dcb0a87415c3c6d18341902b14d541258de  Future-0.15.tar.gz"