#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=Carp-Clan pkgver=6.04 zenver=64 pkgrel=1 arch=i486 source=(http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Carp-Clan-6.04.tar.gz) sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/d/$pkgname docs=("readme*" "credits*" "changes*" "changelog*" "readme*") url=http://search.cpan.org/~stbey/Carp-Clan-6.04/ options=('norequiredbuilder' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Carp::Clan - Gregorian calendar date calculations" "This module reports errors from the perspective of the caller of a" "\"clan\" of modules, similar to \"Carp.pm\" itself. But instead of giving" "it a number of levels to skip on the calling stack, you give it a" "pattern to characterize the package names of the \"clan\" of modules" "which shall never be blamed for any error. :-)" ) build() { cd $startdir/src/$pkgname-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }