# Contributor Sarah Hay # Maintainer: dorphell pkgname=cddb_get _realname=CDDB_get pkgver=2.27 pkgrel=3 pkgdesc="This module/script gets the CDDB info for an audio CD." url="http://armin.emx.at/cddb/" license=('GPL' 'PerlArtistic') arch=('arm') depends=('perl>=5.10.0') options=(!emptydirs) source=(http://armin.emx.at/cddb/${_realname}-${pkgver}.tar.gz) md5sums=('405a3704ad5db45f117cc7cc5bd1ce7c') build() { cd ${startdir}/src/${_realname}-${pkgver} # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make DESTDIR=${startdir}/pkg install || return 1 # remove perllocal.pod and .packlist find ${startdir}/pkg -name perllocal.pod -delete find ${startdir}/pkg -name .packlist -delete }