PKGBUILDs/extra/cddb_get/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
924 B
Bash

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Contributor Sarah Hay <sarahhay@mb.sympatico.ca>
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=cddb_get
_realname=CDDB_get
pkgver=2.27
pkgrel=3
pkgdesc="This module/script gets the CDDB info for an audio cd."
license=('GPL' 'PerlArtistic')
arch=("i686" "x86_64")
depends=('perl>=5.10.0')
options=(!emptydirs)
source=(http://armin.emx.at/cddb/${_realname}-${pkgver}.tar.gz)
md5sums=('405a3704ad5db45f117cc7cc5bd1ce7c')
url="http://armin.emx.at/cddb/"
sha1sums=('cec39851678bbb1fdd76f2cbd170628baf4971e6')
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
}