blob: b4fa09facc578c83c22d5793799e6348130957f4 (
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
|
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=perl-carp-clan
_realname=Carp-Clan
pkgver=6.06
pkgrel=0
pkgdesc="Perl - Report errors from perspective of caller of a 'clan' of modules"
url="http://search.cpan.org/~stbey/$_realname-$pkgver/"
arch="noarch"
license="Artistic GPL"
depends="perl perl-test-exception"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/K/KE/KENTNL/Carp-Clan-$pkgver.tar.gz"
_builddir="$srcdir/$_realname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make test || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="c562a35c48f43665fab735cdc7fe3cb2 Carp-Clan-6.06.tar.gz"
sha256sums="ea4ac8f611354756d43cb369880032901e9cc4cc7e0bebb7b647186dac00c9d4 Carp-Clan-6.06.tar.gz"
sha512sums="a3dede626814a71a5f99b25a5b01133ecd13037fd1fbbaacb04852962c5d23bb77c1cb70f417879ec173db0215904adb59136dd30de6166994aa9aa7b28ca08f Carp-Clan-6.06.tar.gz"
|