summaryrefslogblamecommitdiff
path: root/user/perl-xml-namespacesupport/APKBUILD
blob: 3fea01156a2b2d4defb506548fdba193685eb089 (plain) (tree)
1
2
3
4
5
6
7

                                                           
                                 



                               




                                                     
                                       
              
              
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                               
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-xml-namespacesupport
_pkgreal=XML-NamespaceSupport
_author=PERIGRIN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.12
pkgrel=0
pkgdesc="A Perl module for processing XML namespaces"
url="https://metacpan.org/pod/XML::NamespaceSupport"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
makedepends=""
subpackages="$pkgname-doc"
source="https://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="8a29698acc152888b3abd53b277f89209252830cc3b57d587a5b66e5019445d7c1858a08fa548d42387c1143b726da1440e36eb0c69b0b59c3770b5f528f38b2  XML-NamespaceSupport-1.12.tar.gz"