blob: 214c2d5bccd541a1aa1a9dfd2f50919656a34dae (
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: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-scope-upper
_pkgreal=Scope-Upper
pkgver=0.28
pkgrel=0
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/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="031bccd403f52b83da8f06036070458c Scope-Upper-0.28.tar.gz"
sha256sums="a0da8103debe014410fc6718fe3275db2713be95c235f18c4592cd4148e82137 Scope-Upper-0.28.tar.gz"
sha512sums="318a7daf6d0e4a710ce73c9c2c243963de408c0bfcbfc038c6da5a21bca3b93e9da59e82dfe97a017ec42e892796d6a4d245502e7f3c151651b00d662128d143 Scope-Upper-0.28.tar.gz"
|