#Maintainer: George Vlahavas pkgname=perl-mp3-info pkgver=1.24 pkgrel=2gv source=(http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/MP3-Info-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "license" "maintainers" "copyright.pod") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-mp3-info (Manipulate / fetch info from MP3 audio files with Perl)" "With this Perl module you can manipulate / fetch info from MP3 audio" "files." ) build() { cd $startdir/src/MP3-Info-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor 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 }