#Maintainer: George Vlahavas pkgname=perl-mp3-tag pkgver=1.12 pkgrel=1gv source=(http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/MP3-Tag-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "license" "maintainers" "copyright.pod") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-mp3-tag (Module for reading tags of MP3 audio files with Perl)" "MP3::Tag is a wrapper module to read different tags of mp3 files. It" "provides an easy way to access the functions of separate modules which" "do the handling of reading/writing the tags itself." ) build() { cd $startdir/src/MP3-Tag-$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 }