#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=Number-Compare pkgver=0.01 zenver=64 pkgrel=1 arch=i486 source=(http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/Number-Compare-0.01.tar.gz) sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/d/$pkgname docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "license" "copyright.pod") url=http://search.cpan.org/~rclamp/Number-Compare-0.01/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Number::Compare - numeric comparisons" "Number::Compare compiles a simple comparison to an anonymous" "subroutine, which you can call with a value to be tested again." ) 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 }