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-xml-xbel'
11 pkgdesc="OOP for reading and writing XBEL documents."
12 arch=('i686' 'x86_64')
13 license=('PerlArtistic' 'GPL')
14 options=('!emptydirs')
15 depends=('perl' 'perl-xml-libxml' 'perl-timedate')
16 url='http://search.cpan.org/dist/XML-XBEL/'
17 source=(http://search.cpan.org/CPAN/authors/id/A/AS/ASCOPE/${_pkgname}-${pkgver}.tar.gz)
18 sha256sums=('94c489f49fdb561fc96d9f76f9cf40892f44831628bfbc86b916bbe0ed356a89')
21 cd "${srcdir}/${_pkgname}-${pkgver}" || return 1
22 export PERL_MM_USE_DEFAULT=1
23 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 [ "$skiptest" = "1" ] || make test || return 1
26 make DESTDIR="${pkgdir}" install || return 1
27 find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete