Commit ded30e20 authored by Timothy Legge's avatar Timothy Legge Committed by Milan P. Stanić

testing/perl-xml-simpleobject-libxml: new aport

parent 36c9c16f
Pipeline #18943 passed with stages
in 1 minute and 4 seconds
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-xml-simpleobject-libxml
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=XML-SimpleObject-LibXML
pkgver=0.60
pkgrel=0
pkgdesc="a simple object representation of an XML-LibXML DOM object"
url="https://metacpan.org/release/XML-SimpleObject-LibXML/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-xml-libxml"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DB/DBRIAN/XML-SimpleObject-LibXML-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="ae7a40e0aaf4db8ebf735842f20f6b8fae8ac1cf77dc74782e7f87e3f809ca1c83cea7052fd38345796440b1ce8351e69f8a2635b72cb9c9846fe618ecc2d70e XML-SimpleObject-LibXML-0.60.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment