# $Id: PKGBUILD 29180 2009-03-06 09:05:29Z francois $ # Maintainer: # Contributor: Tom K pkgname=perl-mp3-info _realname=MP3-Info pkgver=1.24 pkgrel=1 pkgdesc="Manipulate / fetch info from MP3 audio files" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/${_realname}/" depends=('perl>=5.10.0') license=('GPL') source=(http://www.cpan.org/authors/id/D/DA/DANIEL/${_realname}-${pkgver}.tar.gz) options=(!emptydirs) md5sums=('fb4bcc43764e3b46c3a7c74b50ed7a44') build() { cd ${srcdir}/${_realname}-${pkgver} # install module in vendor directories. /usr/bin/perl Makefile.PL INSTALLDIRS=vendor || return 1 /usr/bin/make || return 1 /usr/bin/make DESTDIR=${pkgdir} install # remove *.pod, .packlist, and empty dirs: find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete }