summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 084a81cbe6f4035dd8269c5b4c9c6b0ceecb4aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer:  Courtney Swagar <distorto@member.fsf.org>
# Contributor: Federico Cinelli <cinelli@aur.archlinux.org>
# Contributor: Chris Brannon <chris@the-brannons.com>
# Contributor  Sarah Hay <sarahhay@mb.sympatico.ca>

pkgname=cddb_get
_realname=CDDB_get
pkgver=2.28
pkgrel=6
pkgdesc="Fetches CDDB info for an audio cd."
arch=('any')
url="https://web.archive.org/web/20190628161057/http://armin.emx.at/cddb/"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/F/FO/FONKIE/$_realname-$pkgver.tar.gz")
md5sums=('e757e5e2f5a4c4aafcce0529310f2c6d')
sha1sums=('20320871553b63b60a95776053aaadd5c2f508eb')

build() {
  cd "$srcdir/$_realname-$pkgver"

  # install module in vendor directories.
  perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORSCRIPT=/usr/bin

  make
}

package() {
  cd "$srcdir/$_realname-$pkgver"

  make DESTDIR="$pkgdir" install
}