#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=Text-Glob pkgver=0.08 zenver=64 pkgrel=1 arch=i486 source=(http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/Text-Glob-0.08.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/Text-Glob-0.08/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Text::Glob - match globbing patterns against text." "Text::Glob implements glob(3) style matching that can be used to match" "against text, rather than fetching names from a filesystem. If you" "want to do full file globbing use the File::Glob module instead." ) 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 }