# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Natanael Copa setvar pkgname = 'perl-xml-parser' setvar _pkgreal = 'XML-Parser' setvar pkgver = '2.44' setvar pkgrel = '4' setvar pkgdesc = ""A perl module for parsing XML documents"" setvar url = ""http://search.cpan.org/dist/XML-Parser/"" setvar arch = ""all"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = ""perl-libwww"" setvar cpanmakedepends = """" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev expat-dev $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_pkgreal-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { cd $builddir' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor } proc build { cd $builddir make } proc check { cd $builddir make test } proc package { cd $builddir make DESTDIR="$pkgdir" install find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar sha512sums = ""4790d20d89478880b18255679727e5b2fb2860bb4de67d5032c805fd44c9f90697a240a612aba51255325192253aa578b346d658b29f631a4e92ad96e7d65b61 XML-Parser-2.44.tar.gz""