1 # Contributor: 3ED <krzysztof1987 at gmail dot com>
3 #-------------# =========> SKIP TEST <==========
4 skiptest=0 # If your system going crazy - you
5 #-------------# can turn off the test here.
7 pkgname='perl-poe-component-client-mpd'
8 _pkgname='POE-Component-Client-MPD'
11 pkgdesc="full-blown poe-aware mpd client library"
12 arch=('i686' 'x86_64')
13 license=('PerlArtistic' 'GPL')
14 options=('!emptydirs')
15 depends=('perl' 'perl-moosex-has-sugar' 'perl-audio-mpd-common' 'perl-poe' 'perl-moosex-semiaffordanceaccessor' 'perl-moosex-poe' 'perl-test-corpus-audio-mpd')
16 url='http://search.cpan.org/dist/POE-Component-Client-MPD/'
17 source=(http://search.cpan.org/CPAN/authors/id/J/JQ/JQUELIN/${_pkgname}-${pkgver}.tar.gz)
18 sha256sums=('1632cb044114e652167bff5928197dc000e6db1fe31c0dbaae753e41b0c35a84')
21 cd "${srcdir}/${_pkgname}-${pkgver}" || return 1
22 export PERL_MM_USE_DEFAULT=1
24 perl Build.PL || return 1
26 [ "$skiptest" = "1" ] || \
27 perl Build test || return 1
30 --installdirs=vendor \
31 --destdir="${pkgdir}" \
34 find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete