blob: 90f41db743b71be702d842f9df8e634ad3e543c3 (
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-class-method-modifiers
_pkgreal=Class-Method-Modifiers
pkgver=2.13
pkgrel=0
pkgdesc="Provides Moose-like method modifiers"
url="http://search.cpan.org/dist/Class-Method-Modifiers/"
arch="noarch"
license="GPL PerlArtistic"
cpanmakedepends="perl-test-fatal perl-test-requires"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="perl-test-needs"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="379afff763b647b787dd2049d9a8b928ca88be34e50c91c0848c5652efb1e4b40d8cacd2a1d5f6ce7bb254b9e65801b7c1a710f9807458a129af0af470f5ebbe Class-Method-Modifiers-2.13.tar.gz"
|