blob: 053a6b4f2400f1ccd64a4d9770b2bed78589e2ad (
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
34
35
36
37
38
|
# Maintainer: Michael Gerdau <mgd@qata.de>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Jon Arnold <jonarnoldsemail@gmail.com>
pkgname=perl-cddb
pkgver=1.222
pkgrel=4
pkgdesc='A high-level interface to cddb protocol servers (freedb and CDDB)'
_dist=CDDB
arch=('any')
url="https://metapan.org/release/CDDB/"
license=('GPL' 'PerlArtistic')
depends=('perl' 'perl-http-message' 'perl-mailtools' 'perl-libwww')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/R/RC/RCAPUTO/$_dist-$pkgver.tar.gz")
md5sums=('09da67cfbc54fd40144c325e320a84ed')
sha512sums=('addd0f4f3fecab7d599eb7ead93828d6a9c74a779a344f190a629e666c95af47b5eea05f885564a90bfa1fa6c128dc3e60e510f295f6f35b3eae2d8939109d98')
build() {
cd "$_dist-$pkgver"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
/usr/bin/perl Makefile.PL
make
}
# check() {
# cd "$_dist-$pkgver"
# unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
# export PERL_MM_USE_DEFAULT=1
# make test
# }
package() {
cd "$_dist-$pkgver"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}
|