blob: 9c8a94e392c5af51a83be2af0d6b8e98ada56a3c (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-eval-closure
_pkgreal=Eval-Closure
pkgver=0.13
pkgrel=0
pkgdesc="safely and cleanly create closures via string eval"
url="http://search.cpan.org/dist/Eval-Closure/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-try-tiny"
cpanmakedepends=" perl-test-fatal perl-test-requires "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="20e12ab8b6d4f8370a9d3d89b587040a Eval-Closure-0.13.tar.gz"
sha256sums="65bec0368e8f0631a24bf6dc6dd24d2d8d485350e406d20005db2c6aa1c0445d Eval-Closure-0.13.tar.gz"
sha512sums="f87d8aa8af5f87611f95a8f1f44f9c403ab669f944b3a63a9f8ca6a80075ed957f0050bd57b2076581bc47fa57b710712ed9e3abe5670a1881b12dd674414f89 Eval-Closure-0.13.tar.gz"
|