blob: 40ef114d17fd65ec5cac5f45319854c03ebb13d1 (
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
39
|
# Maintainer: 3ED_0 <krzysztof1987 /ta/ gmail \tod\ com>
# Contributor: Justin Davis <jrcd83@gmail.com>
pkgname=perl-test-corpus-audio-mpd
_lastauthor=J/JQ/JQUELIN
_pkgname=Test-Corpus-Audio-MPD
pkgver=1.120990
pkgrel=1
pkgdesc="automate launching of fake mdp for testing purposes"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl-file-sharedir>=1.00' 'perl-file-sharedir-pathclass' 'perl-path-class' 'perl-readonly')
makedepends=('perl-module-build')
url="http://search.cpan.org/dist/${_pkgname}"
source=(http://search.cpan.org/CPAN/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
sha256sums=('dedba59ad19b19890b94cc6da3b9f61c768a98891c49d3e4cbefeb11c7e91805')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
perl Build.PL
perl Build
}
check() {
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build test
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build install
}
|