summaryrefslogblamecommitdiff
path: root/user/perl-xml-parser/APKBUILD
blob: eb3ff70569b89d7386ab853f6c061f8a89c0f81f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                          

                       


                               
           
        
                                               
                                             
          
                                       

                                
                          
                                                                                       

                                    
         
                                                                 



            



                 



                                                                           
                                                                                                                                                                     
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-xml-parser
_pkgreal=XML-Parser
_author=TODDR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.47
pkgrel=0
pkgdesc="Perl module for parsing XML documents"
url="https://metacpan.org/release/XML-Parser"
arch="all"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-libwww"
makedepends="perl-dev expat-dev"
subpackages="$pkgname-doc"
source="http://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="3f9de53341bc85b87c88ad31e04b13f1f95516eec0d7e5fd1c1a3b3e66a91ca3d4de7c649978599219a4d4372f6218764ab5e1805b7155b5ca200006e1b0908f  XML-Parser-2.47.tar.gz"