Commit e4fcd77a authored by Natanael Copa's avatar Natanael Copa

main/perl-future: new aport

represent an operation awaiting completion
http://search.cpan.org/dist/Future/
parent 7fc21d32
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment