mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
28 lines
910 B
Bash
28 lines
910 B
Bash
# $Id: PKGBUILD 28342 2009-02-28 19:19:07Z kevin $
|
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
|
# Contributor: K. Piche <kpiche@rogers.com>
|
|
|
|
pkgname=perl-carp-clan
|
|
_realname=Carp-Clan
|
|
pkgver=6.00
|
|
pkgrel=1
|
|
pkgdesc='Report errors from perspective of caller of a "clan" of modules'
|
|
arch=(i686 x86_64)
|
|
license=('PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://search.cpan.org/CPAN/authors/id/J/JJ/JJORE/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('3a1ea3da42ee62e4db20a8fbf80a74bf')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|