blob: 9ffb6f2f99afa3447d60ac6d7a94bae12e4a7bfc (
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: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-exception
_pkgreal=Test-Exception
pkgver=0.40
pkgrel=0
pkgdesc="Perl - Test exception based code"
url="http://search.cpan.org/dist/Test-Exception/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-sub-uplevel"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make || return 1
}
package() {
cd "$_builddir"
make install DESTDIR=$pkgdir
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="29993e711cf671f8f2ec759f410de681 Test-Exception-0.40.tar.gz"
sha256sums="d92ccb566d93140abc93b07ec4c13e9b14c8f8f7d7858a2ab575d83b3bb51b26 Test-Exception-0.40.tar.gz"
sha512sums="cf85ef0d1991b0797a5823f827a9ad33ceac78f163b97afab19e9c3a11e3cf7505c5a37518dadb5636db42f0337f53df8e0045a5f3fe2200159ee4d83a591902 Test-Exception-0.40.tar.gz"
|