#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=Date-Calc pkgver=6.3 zenver=64 pkgrel=1 arch=i486 source=(http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Date-Calc-6.3.tar.gz) sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/d/$pkgname docs=("readme*" "credits*" "changes*" "changelog*") url=http://search.cpan.org/~stbey/Date-Calc-6.3/ options=('norequiredbuilder' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Date::Calc - Gregorian calendar date calculations" "This package provides all sorts of date calculations based on the" "Gregorian calendar (the one used in all western countries today)." ) 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 }