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-dist-checkconflicts'
8 _pkgname='Dist-CheckConflicts'
11 pkgdesc="declare version conflicts for your dist"
13 license=('PerlArtistic' 'GPL')
14 options=('!emptydirs')
15 depends=('perl-test-simple' 'perl-test-fatal' 'perl-sub-exporter' 'perl-list-moreutils')
16 url='http://search.cpan.org/dist/Dist-CheckConflicts/'
17 source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/${_pkgname}-${pkgver}.tar.gz)
18 sha256sums=('b2a4c4c7c4c9cce5441d293a1a67631b6dbf94e5204372a06f04eabd819007d2')
21 cd "${srcdir}/${_pkgname}-${pkgver}" || return 1
22 export PERL_MM_USE_DEFAULT=1
24 perl Makefile.PL INSTALLDIRS=vendor || return 1
27 [ "$skiptest" = "1" ] || make test || return 1
29 make DESTDIR="${pkgdir}" install || return 1
31 find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete