updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / perl-audio-mpd-common / PKGBUILD
blobd8d2b01a2045fb71de3609cdb7206183293b7703
1 # Contributor: AUR Perl <aurperl@juster.info>
2 # Generator  : CPANPLUS::Dist::Arch 1.12
4 pkgname='perl-audio-mpd-common'
5 pkgver='1.110550'
6 pkgrel='1'
7 pkgdesc="common helper classes for mpd"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-moose>=0.92' 'perl-moosex-has-sugar' 'perl-moosex-types' 'perl-readonly')
12 makedepends=()
13 url='http://search.cpan.org/dist/Audio-MPD-Common'
14 source=('http://search.cpan.org/CPAN/authors/id/J/JQ/JQUELIN/Audio-MPD-Common-1.110550.tar.gz')
15 md5sums=('ea20e89aa81d73235f392018099c0a25')
17 build() {
18   local PERL=/usr/bin/perl DIST_DIR="${srcdir}/Audio-MPD-Common-1.110550"
20   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
21       PERL_AUTOINSTALL=--skipdeps                            \
22       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
23       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24       MODULEBUILDRC=/dev/null
26     cd "$DIST_DIR"
27     $PERL Build.PL
28     $PERL Build
29     $PERL Build test
30     $PERL Build install
31   )
33   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
36 # Local Variables:
37 # mode: shell-script
38 # sh-basic-offset: 2
39 # End:
40 # vim:set ts=2 sw=2 et: