blob: 935ace8d9098b3f4a5aac06170a8cae642363f9c (
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:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-scope-upper
_pkgname=Scope-Upper
pkgver=0.32
pkgrel=1
pkgdesc="Act on upper scopes."
url="http://search.cpan.org/dist/Scope-Upper/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
check() {
make test
}
build() {
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="92fbc9b2e49bc1f6c66a4f10519c508ede36ba6266781397f93bd48310ae36b454112c59794f0346b8c915cfe106d2a4f673ecf20e7a2b8f11e504539691bda4 Scope-Upper-0.32.tar.gz"
|